SimpleIconButton constructor

const SimpleIconButton({
  1. Key? key,
  2. required VoidCallback? onTap,
  3. required String title,
  4. double? fontSize,
  5. String? leftIcon,
  6. double? iconSize,
  7. String? rightIcon,
  8. Color? backgroundColor,
  9. Color? foregroundColor,
  10. BaseButtonSize size = BaseButtonSize.regular,
  11. WidgetStateProperty<Color>? overlayColor,
  12. bool withBorder = true,
})

Implementation

const SimpleIconButton({
  super.key,
  required this.onTap,
  required this.title,
  this.fontSize,
  this.leftIcon,
  this.iconSize,
  this.rightIcon,
  this.backgroundColor,
  this.foregroundColor,
  this.size = BaseButtonSize.regular,
  this.overlayColor,
  this.withBorder = true,
});