FlipBoxNavigationBarTile constructor

FlipBoxNavigationBarTile({
  1. required FlipBoxNavigationBarItem item,
  2. required Animation animation,
  3. double height = 56.0,
  4. TextStyle textStyle = const TextStyle(fontSize: 12.0),
  5. IconThemeData? selectedIconTheme,
  6. IconThemeData? unselectedIconTheme,
  7. Key? key,
})

Creates a new FlipBoxNavigationBarTile for displaying a single entry of an item from FlipBoxNavigationBar.items.

The item and animation is required.

Implementation

FlipBoxNavigationBarTile({
  required this.item,
  required Animation animation,
  this.height = 56.0,
  this.textStyle = const TextStyle(fontSize: 12.0),
  this.selectedIconTheme,
  this.unselectedIconTheme,
  Key? key,
})  : assert(height >= 0.0),
      animation = _generateTween(animation),
      super(key: key);