TabItem constructor

const TabItem({
  1. Key? key,
  2. int animDuration = 300,
  3. required bool selected,
  4. required String title,
  5. required UniqueKey uniqueKey,
  6. required Widget icon,
  7. TextStyle? titleStyle,
  8. required dynamic callbackFunction(
    1. UniqueKey uniqueKey
    ),
  9. Color? activeIconColor,
  10. Color? inactiveIconColor,
})

Creates a TabItem.

Implementation

const TabItem({
  Key? key,
  this.animDuration = 300,
  required this.selected,
  required this.title,
  required this.uniqueKey,
  required this.icon,
  this.titleStyle,
  required this.callbackFunction,
  this.activeIconColor,
  this.inactiveIconColor,
}) : super(key: key);