SeniorButton.secondary constructor
SeniorButton.secondary({
- Key? key,
- bool disabled,
- required String label,
- required VoidCallback onPressed,
- bool busy,
- String? busyMessage,
- IconData? icon,
- bool fullWidth,
- SeniorButtonStyle? style,
Creates a button with the Senior Design System determinations for a
secondary button.
The label
and onPressed
parameters are required.
Implementation
factory SeniorButton.secondary({
Key? key,
bool disabled,
required String label,
required VoidCallback onPressed,
bool busy,
String? busyMessage,
IconData? icon,
bool fullWidth,
SeniorButtonStyle? style,
}) = _SeniorButtonSecondary;