buttonOut method
镂空按钮
Implementation
Widget buttonOut(
void Function() onPressed, {
double? width,
double? height,
int? textSize,
Color textColor = const Color(0xFF333333),
}) {
return SizedBox(
width: width ?? double.infinity,
height: height ?? 46.h,
child: OutlinedButton(
onPressed: onPressed,
child: Text(
this,
style: (textSize ?? 16).textStyle(textColor),
),
),
);
}