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

Project not building on new beta sdk 1.26.0-17.6.pre #7

Open
Dhana2513 opened this issue Feb 24, 2021 · 3 comments
Open

Project not building on new beta sdk 1.26.0-17.6.pre #7

Dhana2513 opened this issue Feb 24, 2021 · 3 comments

Comments

@Dhana2513
Copy link

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_progress_dialog-0.1.0/lib/src/widget/theme.dart:39:15: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.

  • 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/framework.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
    context.inheritFromWidgetOfExactType(_ProgressTheme);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Failed to compile application.
@mashegoindustries
Copy link

Experiencing the same issue, I was about to create an issue, but then saw this one

@mashegoindustries
Copy link

In the mean time, you may want to checkout pull request, which fixes this issue.

Whilst we waiting for the pull request to be accepted

Fork the project and fix it your self. I just did that.

@t-walker-wei
Copy link

This solved my the same issue : stackoverflow

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

3 participants