-
Notifications
You must be signed in to change notification settings - Fork 27
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
Error: The method 'ancestorRenderObjectOfType' isn't defined for the class #14
Comments
Pull request was created for the issue |
Thank you! I am migrating all my packages to null safe. so i will make sure this PR is a part of it. Thank you @brumbrumm |
@rodydavis you're welcome. |
When the PR will be merged? |
Soon, but there are a lot of packages in migrating. You can always override a package from a git url of a specific branch in the meantime |
The right way to
|
Hi i have just updated flutter version to 2.0 .
I am getting error as below.
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/floating_search_bar-0.3.0/lib/ui/sliver_search_bar.dart:242:20: Error: The method 'ancestorRenderObjectOfType' isn't defined for the class 'BuildContext'.
Try correcting the name to the name of an existing method, or defining a method named 'ancestorRenderObjectOfType'.
return context.ancestorRenderObjectOfType(
^^^^^^^^^^^^^^^^^^^^^^^^^^
Can anyone give me solution for this
The text was updated successfully, but these errors were encountered: