UiFlatButton.outlined constructor
UiFlatButton.outlined({})
Factory for outlined style
Implementation
factory UiFlatButton.outlined({
required String label,
Widget? icon,
required VoidCallback? onPressed,
bool isLoading = false,
bool expand = true,
EdgeInsets? padding,
double borderRadius = 8,
double elevation = 0,
Color borderColor = const Color(0xFFCBD5E1),
Color textColor = Colors.black87,
TextStyle? labelStyle,
}) {
return UiFlatButton(
label: label,
icon: icon,
onPressed: onPressed,
isLoading: isLoading,
expand: expand,
padding: padding,
borderRadius: borderRadius,
elevation: elevation,
backgroundColor: Colors.transparent,
textColor: textColor,
borderColor: borderColor,
labelStyle: labelStyle,
);
}