DEV Community


Discussion on: Fwitter - Flutter Based Twitter Clone

thealphamerc profile image
Sonu Sharma 💙 Author

This method is a custom widget that is used in app to display icon in bottom navigation bar.
You can pass any icon from Icons class or from AppIcon class but one icon at a time.
When user click on any icon from bottom navigation bar then onPressed method will invoke and it set page index value.