PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

Increase icon size

Open suchita-ounce opened this issue 3 years ago • 2 comments

I want to increase the size of icon. size parameter isn't working for me because I am using icon from asset. Below is the code I am using:

PersistentBottomNavBarItem(
        icon: new Image.asset("images/scan.png",width: 40, height: 40),
        title: ("Scan"),
      )

tabbar1

suchita-ounce avatar Mar 09 '22 15:03 suchita-ounce

Work for me. Use v2 https://github.com/jb3rndt/PersistentBottomNavBarV2

thirakorn avatar May 10 '22 10:05 thirakorn

For those are stumbled across this issue, just convert your image asset to icon: https://medium.com/deviniti-technology-driven-blog/the-best-way-to-add-custom-icons-to-your-flutter-project-6381ab697813

pupubird avatar Jul 06 '23 03:07 pupubird