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

ImageIcon #43

Closed fabioselau077 closed 4 years ago

fabioselau077 commented 4 years ago

Hello, as my icons are customized I can only access using icon: ImageIcon(images/ icon.png), in BottomNavigationBarItem I can, but in your package only accept Icon in icon (icon: Icon(Icons.add) How to solve?

pedromassango commented 4 years ago

Yes. Sorry about that, it must change in the next releases. For now you can convert your .png images into IconData to be used inside icon using some tools. Please refer to this post:https://medium.com/flutterpub/how-to-use-custom-icons-in-flutter-834a079d977 to learn how.

fabioselau077 commented 4 years ago

Yes. Sorry about that, it must change in the next releases. For now you can convert your .png images into IconData to be used inside icon using some tools. Please refer to this post:https://medium.com/flutterpub/how-to-use-custom-icons-in-flutter-834a079d977 to learn how.

Thanks brother. Amazing package, thanks for sharing.