Skip to content

PersistentBottomNavBarItem neew WIDTH variable #375

@enes-kal

Description

@enes-kal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions