Skip to content

nullable field in _HasWidgetLocation._location could be null #115582

Closed

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.

Activity

  1. added
    in triagePresently being triaged by the triage team
    a: null-safetySupport for Dart's null safety feature
    frameworkflutter/packages/flutter repository. See also f: labels.
    f: inspectorPart of widget inspector in framework.
    and removed
    in triagePresently being triaged by the triage team
    on Nov 18, 2022
  2. goderbauer commented on Nov 22, 2022

    @goderbauer
    Member
  3. added
    P2Important issues not at the top of the work list
    on Nov 22, 2022
  4. github-actions commented on Mar 3, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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