ActionButton constructor

ActionButton({
  1. required String label,
  2. bool isSelected = false,
  3. bool isDisabled = false,
  4. CmdCallback? onTap,
  5. Color? background,
  6. Color? selectedBackground,
  7. Color? foreground,
  8. Color? selectedForeground,
  9. EdgeInsets? padding,
  10. Key? key,
})

Implementation

ActionButton({
  required this.label,
  this.isSelected = false,
  this.isDisabled = false,
  this.onTap,
  this.background,
  this.selectedBackground,
  this.foreground,
  this.selectedForeground,
  this.padding,
  super.key,
});