ButtonsTab constructor

const ButtonsTab({
  1. Key? key,
  2. String? title,
  3. Function? onPressed,
  4. required double? width,
  5. double? height,
  6. bool? isSelected,
  7. double? radius,
  8. TextStyle? selectedTextStyle,
  9. TextStyle? unSelectedTextStyle,
  10. required List<Color>? selectedColors,
  11. IconData? icons,
  12. double? iconSize,
  13. required List<Color>? unSelectedColors,
  14. Alignment? begin,
  15. Alignment? end,
  16. 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,
});