Skip to content

Audit code in flutter/packages/* for null safety #71506

Closed

Description

@Hixie

We should make sure all the code in flutter/packages/* has been migrated to null safety.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    frameworkflutter/packages/flutter repository. See also f: labels.
    platform-webWeb applications specifically
    a: null-safetySupport for Dart's null safety feature
    P2Important issues not at the top of the work list
    on Dec 1, 2020
  2. goderbauer commented on Jan 27, 2021

    @goderbauer
    Member

    Updated top-level comment with a check list.

  3. goderbauer commented on Jan 27, 2021

    @goderbauer
    Member

    When any of the remaining packages is migrated, we should also remember to enable sound null safety for tests running on the bots here:

    await _runFlutterTest(path.join(flutterRoot, 'packages', 'flutter_driver'), tests: <String>[path.join('test', 'src', 'real_tests')]);

  4. parlough commented on May 31, 2024

    @parlough
    Member

    Closing this as fixed as the sub-tasks have all been closed as fixed and Dart only supports running in sound null safety mode, so if we're running Dart code, it is running with null safety now :D

    If anyone has any remaining follow-up tasks, please check for existing issues or open a new one with more details, thanks!

  5. github-actions commented on Jun 14, 2024

    @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.

  6. locked as resolved and limited conversation to collaborators on Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: null-safetySupport for Dart's null safety featureframeworkflutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions