ActionButton constructor

const ActionButton({
  1. Key? key,
  2. required dynamic icon,
  3. required String label,
  4. VoidCallback? onTap,
  5. bool hasBackground = true,
  6. Color? backgroundColor,
  7. Color? iconColor,
  8. Color? textColor,
  9. double? iconSize,
  10. TextStyle? textStyle,
  11. bool isVertical = false,
})

Implementation

const ActionButton({
  super.key,
  required this.icon,
  required this.label,
  this.onTap,
  this.hasBackground = true,
  this.backgroundColor,
  this.iconColor,
  this.textColor,
  this.iconSize,
  this.textStyle,
  this.isVertical = false,
});