TabItem constructor

const TabItem({
  1. required UniqueKey uniqueKey,
  2. required bool selected,
  3. required IconData icon,
  4. required dynamic callbackFunction(
    1. UniqueKey uniqueKey
    ),
  5. required Color textColor,
  6. required Color iconColor,
  7. Key? key,
  8. String? title,
  9. double iconSize = 30,
  10. double fontSize = 12,
  11. FontWeight fontWeight = FontWeight.w600,
})

Implementation

const TabItem({
  required this.uniqueKey,
  required this.selected,
  required this.icon,
  required this.callbackFunction,
  required this.textColor,
  required this.iconColor,
  super.key,
  this.title,
  this.iconSize = 30,
  this.fontSize = 12,
  this.fontWeight = FontWeight.w600,
});