toOutlinedButton method
Widget
toOutlinedButton({
- double? titleSize,
- Color titleColor = Colors.black,
- VoidCallback? onTap,
- Color? bgEnableColor,
- Color? bgDisableColor,
Implementation
Widget toOutlinedButton({
double? titleSize,
Color titleColor = Colors.black,
VoidCallback? onTap,
Color? bgEnableColor,
Color? bgDisableColor,
}) =>
toText(
size: titleSize ?? 14,
color: onTap != null ? titleColor : Colors.grey,
).toOutlinedButton(
onTap: onTap,
bgEnableColor: bgEnableColor,
bgDisableColor: bgDisableColor,
borderColor: titleColor,
);