MotionTabItem constructor

const MotionTabItem({
  1. Key? key,
  2. required String? label,
  3. required bool selected,
  4. required TextStyle textStyle,
  5. required Function callbackFunction,
  6. bool labelAlwaysVisible = false,
  7. Widget? badge,
  8. Widget? tabIconWidget,
  9. IconData? tabIconData,
  10. Color? tabIconColor,
  11. double? tabIconSize = 24,
})

Creates a MotionTabItem.

Implementation

const MotionTabItem({
  Key? key,
  required this.label,
  required this.selected,
  required this.textStyle,
  required this.callbackFunction,
  this.labelAlwaysVisible = false,
  this.badge,
  this.tabIconWidget,
  this.tabIconData,
  this.tabIconColor,
  this.tabIconSize = 24,
}) : super(key: key);