SeniorButtonBase constructor

SeniorButtonBase({
  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,
})

Implementation

SeniorButtonBase({
  Key? key,
  required this.label,
  this.disabled = false,
  required this.onPressed,
  this.fullWidth = false,
  this.busy = false,
  this.busyMessage,
  this.icon,
}) : super(key: key);