SimpleIconButton constructor
const
SimpleIconButton({
- Key? key,
- required VoidCallback? onTap,
- required String title,
- double? fontSize,
- String? leftIcon,
- double? iconSize,
- String? rightIcon,
- Color? backgroundColor,
- Color? foregroundColor,
- BaseButtonSize size = BaseButtonSize.regular,
- WidgetStateProperty<
Color> ? overlayColor, - 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,
});