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