FlenxButton constructor
const
FlenxButton(
- String label, {
- required String href,
- FlenxButtonVariant variant = FlenxButtonVariant.primary,
- String? color,
- bool newTab = false,
- bool hover = true,
- FlenxAnimation? animation,
- int animationDelay = 0,
- int animationDuration = 600,
- Key? key,
Implementation
const FlenxButton(
this.label, {
required this.href,
this.variant = FlenxButtonVariant.primary,
this.color,
this.newTab = false,
this.hover = true,
this.animation,
this.animationDelay = 0,
this.animationDuration = 600,
super.key,
});