Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter sdk 2.0.3 接口变动报错 #14

Open
jackleemeta opened this issue Apr 1, 2021 · 0 comments
Open

flutter sdk 2.0.3 接口变动报错 #14

jackleemeta opened this issue Apr 1, 2021 · 0 comments

Comments

@jackleemeta
Copy link

  • 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../../../../flutter/packages/flutter/lib/src/widgets/framework.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'ancestorStateOfType'.
    .ancestorStateOfType(
    ^^^^^^^^^^^^^^^^^^^
    ../../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_page_tracker-3.0.7/lib/src/page_view_listener_mixin.dart:106:20: Error: The method 'ancestorStateOfType' isn't defined for the class 'BuildContext'.
    • 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../../../../flutter/packages/flutter/lib/src/widgets/framework.dart').
      Try correcting the name to the name of an existing method, or defining a method named 'ancestorStateOfType'.
      return context.ancestorStateOfType(TypeMatcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant