MyButton.outlined constructor
MyButton.outlined({})
Creates an outlined MyButton with a border and no fill.
Implementation
factory MyButton.outlined({
Key? key,
String? label,
TextStyle? labelStyle,
IconData? icon,
Color? iconColor,
double? stroke,
VoidCallback? onPressed,
bool loading = false,
bool disabled = false,
bool fullWidth = true,
}) =>
MyButton._(
key: key,
label: label,
labelStyle: labelStyle,
icon: icon,
iconColor: iconColor,
stroke: stroke,
onPressed: onPressed,
variant: _Variant.outlined,
loading: loading,
disabled: disabled,
fullWidth: fullWidth,
);