pedromassango / bottom_navy_bar

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

[Q] I have 2 items, how to center it? #31

Closed nguyenhuutinh closed 5 years ago

nguyenhuutinh commented 5 years ago

hello, thanks for your plugin. My question is : I have 2 items, how to center it?

Thanks

nguyenhuutinh commented 5 years ago
Screenshot 2019-11-04 at 11 00 02 PM
georgeherby commented 5 years ago

Looks like this is not possible currently. It could be added as a config option via PR/change

It currently uses MainAxisAlignment.spaceBetween if it was a config you could use center or spaceAround

https://github.com/pedromassango/bottom_navy_bar/blob/master/lib/bottom_navy_bar.dart#L97

georgeherby commented 5 years ago

@nguyenhuutinh See #33

pedromassango commented 5 years ago

Hey @georgeherby I'm waiting your conflicts to close this issue in the #33

georgeherby commented 5 years ago

All done @pedromassango