FlenxButton constructor

const FlenxButton(
  1. String label, {
  2. required String href,
  3. FlenxButtonVariant variant = FlenxButtonVariant.primary,
  4. String? color,
  5. bool newTab = false,
  6. bool hover = true,
  7. FlenxAnimation? animation,
  8. int animationDelay = 0,
  9. int animationDuration = 600,
  10. 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,
});