-
Notifications
You must be signed in to change notification settings - Fork 465
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
Animations are gone on Android in latest flutter #347
Comments
We are having the same issue. |
this package is abandoned I think! |
I am so sorry to hear that, this was a wonderful lib and really less maintainance nowadays! @jamesblasco Our whole software stack are depending on this! Please help! |
Yes, there aren't any real alternative that provide the same functionality. Seems we'll have to figure out this one on our own and fork the repo, if needed. |
@jseminck I would suggest fork this repo if anyone much more familliar on flutter than me. I would never using sheeter anymore since the original author doesn't response any on his wonderful lib, just leave millions developers keep issues in their apps. This is really lack of responsibility. I hear flutter might add this pushing back animation into flutter but no progress anymore, so there might need a new modal_bottom_sheet from community! |
I checked the source code, animation disappearance is caused by accessibility settings: ...
final mediaQuery = MediaQuery.of(context);
child = AnimatedBuilder(
animation: widget.animationController,
builder: (context, Widget? child) {
assert(child != null);
final animationValue =
animationCurve.transform(mediaQuery.accessibleNavigation ? 1.0 : widget.animationController.value);
... So just add it to the MaterialApp builder: ...
builder: (BuildContext ctx, Widget? child) {
return MediaQuery(
data: MediaQuery.of(ctx).copyWith(accessibleNavigation: false),
child: child!,
);
},
... Animation is back! |
@xSILENCEx Waaoo! Does it need change model_bottom_sheet source code itself? |
@lucasjinreal No need to change the source code |
anyone who fix animation? |
For anyone needing it: I made a fork from main + added the fix from @xSILENCEx (thank you) directly in the library.
P.S: Some other changes in main to consider: |
iOS this push back animation is OK, but android is not work anymore. Please have a look!!
The text was updated successfully, but these errors were encountered: