8008c8d54e
The widget transformer doesn't handle widgets with optional positional parameters and therefore doesn't provide locations in these cases. For this reason we leave the location field nullable and don't null check it on construction. Close #43371 Change-Id: I2595eb215e8fab477ab0819b70e25d9fb921ed01 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162187 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>