FUIButton constructor

const FUIButton({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
  4. VoidCallback? onPressed,
  5. FUIButtonVariant variant = FUIButtonVariant.primary,
  6. bool fullWidth = false,
  7. bool small = false,
  8. bool loading = false,
})

Implementation

const FUIButton({
  super.key,
  required this.label,
  this.icon,
  this.onPressed,
  this.variant = FUIButtonVariant.primary,
  this.fullWidth = false,
  this.small = false,
  this.loading = false,
});