Skip to content

求帮助,导入项目运行就会报错 #23

Description

@httpboy

file:///D:/Environment/flutter_windows_v1.2.1-stable/flutter/packages/flutter/lib/src/widgets/navigator.dart:2091:9: Error: The getter 'SchedulerBinding' isn't defined for the class 'NavigatorState'.

  • 'NavigatorState' is from 'package:flutter/src/widgets/navigator.dart' ('file:///D:/Environment/flutter_windows_v1.2.1-stable/flutter/packages/flutter/lib/src/widgets/navigator.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'SchedulerBinding'.
    if (SchedulerBinding.instance.schedulerPhase == SchedulerPhase.idle) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions