SeniorButtonPrimary constructor

SeniorButtonPrimary({
  1. Key? key,
  2. required String label,
  3. bool disabled = false,
  4. required VoidCallback onPressed,
  5. bool fullWidth = false,
  6. bool busy = false,
  7. String? busyMessage,
  8. IconData? icon,
  9. bool outlined = false,
  10. bool danger = false,
  11. SeniorButtonStyle? style,
})

Implementation

SeniorButtonPrimary({
  super.key,
  required super.label,
  super.disabled = false,
  required super.onPressed,
  super.fullWidth = false,
  super.busy = false,
  super.busyMessage,
  super.icon,
  this.outlined = false,
  this.danger = false,
  this.style,
});