MiniButton constructor

const MiniButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. MiniButtonVariant variant = MiniButtonVariant.primary,
  5. bool disabled = false,
  6. double elevation = 2,
  7. Color? hoverColor,
  8. 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,
});