herodotdigital / SnakeBottomNavigationBar

Apache License 2.0
207 stars 51 forks source link

Request: add a width variable for the indicator #7

Closed elias97850 closed 2 years ago

GoltVik commented 4 years ago

HI @elias97850 , thank you for request. Can you describe more specific what you want to achieve with this variable and where you want to get it ?

Prn-Ice commented 2 years ago

Hi @GoltVik , I'd like to make the indicator look like this image

I believe @elias97850 might want the same thing.

GoltVik commented 2 years ago

Well, thank you @Prn-Ice for an explanation. I've added the height parameter to SnakeShape, now you can create a custom indicator view with padding what you need. Like this: snakeShape = SnakeShape( shape: RoundedRectangleBorder(), padding: EdgeInsets.only(right: 18), height: 3, );

Those changes are published in version 0.6.0 :)

Prn-Ice commented 2 years ago

Wow, thanks a lot