SpotlightBottomNavigationBarItem constructor

SpotlightBottomNavigationBarItem({
  1. required IconData icon,
})

Creates an item that is used with SpotlightBottomNavigationBar.items.

The argument icon should not be null when used in a Material Design's BottomNavigationBar.

Implementation

SpotlightBottomNavigationBarItem({required this.icon});