FlutterTabItem constructor
const
FlutterTabItem({
- Key? key,
- required dynamic onTap(),
- String? title,
- IconData? prefixIcon,
- IconData? suffixIcon,
- required Color textColor,
- double fontSize = 14,
- required Color backgroundColor,
- required EdgeInsets padding,
- required EdgeInsets margin,
- required double iconSize,
- required double? spaceBetweenIconAndText,
- 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,
});