SeniorButton.ghost constructor

SeniorButton.ghost({
  1. Key? key,
  2. bool disabled,
  3. required String label,
  4. required VoidCallback onPressed,
  5. bool busy,
  6. String? busyMessage,
  7. IconData? icon,
  8. bool fullWidth,
  9. SeniorButtonStyle? style,
})

Creates a button with the Senior Design System determinations for a ghost or tertiary button. The label and onPressed parameters are required.

Implementation

factory SeniorButton.ghost({
  Key? key,
  bool disabled,
  required String label,
  required VoidCallback onPressed,
  bool busy,
  String? busyMessage,
  IconData? icon,
  bool fullWidth,
  SeniorButtonStyle? style,
}) = _SeniorButtonGhost;