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. String? trackEvent,
  8. FlenxAnimation? animation,
  9. int animationDelay = 0,
  10. int animationDuration = 600,
  11. Key? key,
})

Implementation

const FlenxButton(
  this.label, {
  required this.href,
  this.variant = FlenxButtonVariant.primary,
  this.color,
  this.newTab = false,
  this.hover = true,
  this.trackEvent,
  this.animation,
  this.animationDelay = 0,
  this.animationDuration = 600,
  super.key,
});