ModernCustomButton constructor
ModernCustomButton({ - required VoidCallback action,
- bool show = true,
- Color? backgroundColor,
- Color? gradientStartColor,
- Color? gradientEndColor,
- bool disabled = false,
- IconData? icon,
- String? text,
- TextStyle? textStyle,
- Widget? customComponent,
- Color? iconColor,
- double? iconSize,
- bool enableGlow = true,
})
Implementation
ModernCustomButton({
required this.action,
this.show = true,
this.backgroundColor,
this.gradientStartColor,
this.gradientEndColor,
this.disabled = false,
this.icon,
this.text,
this.textStyle,
this.customComponent,
this.iconColor,
this.iconSize,
this.enableGlow = true,
});