nullable field in _HasWidgetLocation._location could be null #115582
Labels
a: null-safety
Support for the Dart's team new null safety feature
f: inspector
Part of widget inspector in framework.
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
Per discussion with @johnniwinther, the field
_HasWidgetLocation._location
which is marked non-nullable could be nullable, for example in the case where a tear-off constructor is used, the invocation point could not be determined: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/widget_inspector.dart#L3245.This field should be updated to be nullable.
The text was updated successfully, but these errors were encountered: