-
Notifications
You must be signed in to change notification settings - Fork 114
Doesn't work on release mode on Android 11 #14
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
Comments
Can't reproduce with the code snippet. (Tested Pixel 3a XL, Android 11, release) |
Ive used that code in this app: https://play.google.com/store/apps/details?id=com.xira.mymk |
It is working fine for me. |
Thanks for your reply, I'll test my code and check on few more devices |
Closing this issue for now |
CODE:
return Scaffold(
body: _pages[_nav.getIndex()],
drawer: CustomDrawer(),
floatingActionButton: FloatingActionButton(
onPressed: () {
Get.toNamed(Routes.CARTPAGE);
},
),
floatingActionButtonLocation:
FloatingActionButtonLocation.centerDocked,
bottomNavigationBar: AnimatedBottomNavigationBar(
icons: _iconList,
splashColor: accentColor,
activeColor: accentColor,
inactiveColor: Colors.black.withOpacity(0.5),
notchMargin: 10.0,
activeIndex: _nav.getIndex(),
gapLocation: GapLocation.center,
leftCornerRadius: 32,
rightCornerRadius: 32,
notchSmoothness: NotchSmoothness.verySmoothEdge,
onTap: (val) {
_nav.changeIndex(val);
},
),
);
ERROR:
Wrong gap location in AnimatedBottomNavigationBar towards FloatingActionButtonLocation => consider use GapLocation.end instead of GapLocation.center or change FloatingActionButtonLocation
The relevant error-causing widget was
AnimatedBottomNavigationBar
The text was updated successfully, but these errors were encountered: