Skip to content

nullable field in _HasWidgetLocation._location could be null #115582

@christopherfujino

Description

@christopherfujino

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.

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: null-safetySupport for Dart's null safety featuref: inspectorPart of widget inspector in framework.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions