FlutterTabItem constructor

const FlutterTabItem({
  1. Key? key,
  2. required dynamic onTap(),
  3. String? title,
  4. IconData? prefixIcon,
  5. IconData? suffixIcon,
  6. required Color textColor,
  7. double fontSize = 14,
  8. required Color backgroundColor,
  9. required EdgeInsets padding,
  10. required EdgeInsets margin,
  11. required double iconSize,
  12. required double? spaceBetweenIconAndText,
  13. double borderRadius = 4,
})

Implementation

const FlutterTabItem({
  super.key,
  required this.onTap,
  this.title,
  this.prefixIcon,
  this.suffixIcon,
  required this.textColor,
  this.fontSize = 14,
  required this.backgroundColor,
  required this.padding,
  required this.margin,
  required this.iconSize,
  required this.spaceBetweenIconAndText,
  this.borderRadius = 4,
});