MiniButton constructor
const
MiniButton({
- Key? key,
- required String label,
- VoidCallback? onPressed,
- MiniButtonVariant variant = MiniButtonVariant.primary,
- bool disabled = false,
- double elevation = 2,
- Color? hoverColor,
- Color? splashColor,
Implementation
const MiniButton({
super.key,
required this.label,
this.onPressed,
this.variant = MiniButtonVariant.primary,
this.disabled = false,
this.elevation = 2,
this.hoverColor,
this.splashColor,
});