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

PersistentBottomNavBarItem neew WIDTH variable #375

Open
enes-kal opened this issue Sep 21, 2024 · 0 comments
Open

PersistentBottomNavBarItem neew WIDTH variable #375

enes-kal opened this issue Sep 21, 2024 · 0 comments

Comments

@enes-kal
Copy link

enes-kal commented Sep 21, 2024

Hi, I am useing this package for my all project I just saw that in PersistentBottomNavBarItem need a width variable to set selected item width

Ekran Resmi 2024-09-21 09 32 12

an example I want to reduce a Add button padding.

return PersistentBottomNavBarItem(
icon: AppIcons(
iconType: iconTypeList[index],
iconColor: tabsRouter.activeIndex == index
? AppColors.bottomNavBarActiveColor
: AppColors.bottomNavBarPassiveColor),
contentPadding: 0,
iconSize: 24.w,
width: 60.w,. // Need this
title: (text),

thank you Bilal.

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

1 participant