JuiButton constructor
const
JuiButton({
- Key? key,
- required JuiButtonColorType colorType,
- required JuiButtonSizeType sizeType,
- required String text,
- required VoidCallback onTap,
- bool visibility = true,
- double? width,
- double? fontSize,
- double circular = 24,
- double? height,
- double fontHeight = 1.0,
- bool disable = false,
- Color? backGroundColor,
- FontWeight fontWeight = FontWeight.normal,
创建 JuiButton 按钮
Implementation
const JuiButton({
Key? key,
required this.colorType,
required this.sizeType,
required this.text,
required this.onTap,
this.visibility = true,
this.width,
this.fontSize,
this.circular = 24,
this.height,
this.fontHeight = 1.0,
this.disable = false,
this.backGroundColor,
this.fontWeight = FontWeight.normal,
}) : super(key: key);