ButtonsTab constructor
const
ButtonsTab({
- Key? key,
- String? title,
- Function? onPressed,
- required double? width,
- double? height,
- bool? isSelected,
- double? radius,
- TextStyle? selectedTextStyle,
- TextStyle? unSelectedTextStyle,
- required List<
Color> ? selectedColors, - IconData? icons,
- double? iconSize,
- required List<
Color> ? unSelectedColors, - Alignment? begin,
- Alignment? end,
- EdgeInsets? marginSelected = EdgeInsets.zero,
Define attribute Widget and State
Implementation
const ButtonsTab({
super.key,
this.title,
this.onPressed,
required this.width,
this.height,
this.isSelected,
this.radius,
this.selectedTextStyle,
this.unSelectedTextStyle,
required this.selectedColors,
this.icons,
this.iconSize,
required this.unSelectedColors,
this.begin,
this.end,
this.marginSelected = EdgeInsets.zero,
});