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

error: disallowIndicator() method does not exists #2

Closed
devmuaz opened this issue Jan 13, 2022 · 2 comments
Closed

error: disallowIndicator() method does not exists #2

devmuaz opened this issue Jan 13, 2022 · 2 comments

Comments

@devmuaz
Copy link

devmuaz commented Jan 13, 2022

Error found in dropdown_overlay.dart file, line 159

Error: The method 'disallowIndicator' isn't defined for the class 'OverscrollIndicatorNotification'.
Try correcting the name to the name of an existing method, or defining a method named 'disallowIndicator'.notification.disallowIndicator();

Solution:
I believe replacing the disallowIndicator() with disallowGlow() solves the problem!

@AbdullahChauhan
Copy link
Owner

Error found in dropdown_overlay.dart file, line 159

Error: The method 'disallowIndicator' isn't defined for the class 'OverscrollIndicatorNotification'.
Try correcting the name to the name of an existing method, or defining a method named 'disallowIndicator'.notification.disallowIndicator();

Solution: I believe replacing the disallowIndicator() with disallowGlow() solves the problem!

@devmuaz
The latest release is built on Flutter version 2.8 where disallowGlow() was deprecated in favor of disallowIndicator().

@devmuaz
Copy link
Author

devmuaz commented Jan 14, 2022

@AbdullahChauhan well, that's seems to be correct since im still using v2.5.1 due to some crashing issues related to v2.8!

Thanks 😄

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

2 participants