pedromassango / bottom_navy_bar

A beautiful and animated bottom navigation
https://youtu.be/jJPSKEEiN-E
Apache License 2.0
1.02k stars 215 forks source link

Make corner radius configurable on each BottomNavyBarItem #27

Closed georgeherby closed 4 years ago

georgeherby commented 4 years ago

Will default to 50 for radius as per the current code. But it can now be configured on a BottomNavyBarItem by BottomNavyBarItem case, this allows for squares with rounded corners rather than just having to have the pill style.

I have forked and run this code in my project (see below)

image

georgeherby commented 4 years ago

@pedromassango Whoops! There is breaking change in this due to accidentally renaming a class! Will raise a PR to fix!

pedromassango commented 4 years ago

I already fixed that, and moved the property to the library class because we want tom mantain the same corner radius for all items so that we don't break the UI style