JuiButton constructor

const JuiButton({
  1. Key? key,
  2. required JuiButtonColorType colorType,
  3. required JuiButtonSizeType sizeType,
  4. required String text,
  5. required VoidCallback onTap,
  6. bool visibility = true,
  7. double? width,
  8. double? fontSize,
  9. double circular = 24,
  10. double? height,
  11. double fontHeight = 1.0,
  12. bool disable = false,
  13. Color? backGroundColor,
  14. 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);