enableButton static method
Widget
enableButton({
- double width = 252,
- double height = 44,
- int tag = 0,
- bool enabled = true,
- BoxDecoration? normalBoxDecoration,
- BoxDecoration? disabledBoxDecoration,
- dynamic onTap()?,
是否可点击按钮
Implementation
static Widget enableButton({
double width = 252,
double height = 44,
int tag = 0,
bool enabled = true,
BoxDecoration? normalBoxDecoration,
BoxDecoration? disabledBoxDecoration,
Function()? onTap
}){
return JJCheckBox(
width: width,
height: height,
tag: tag,
enabled: enabled,
cellDecoration: normalBoxDecoration,
cellDisabledDecoration: disabledBoxDecoration,
tapSplashColor: Colors.transparent,
onTap: onTap,
);
}