JUIButton constructor

const JUIButton({
  1. Key? key,
  2. required JUIButtonColorType colorType,
  3. required JUIButtonSizeType sizeType,
  4. required String text,
  5. required Function onTap,
  6. bool? visibility,
  7. double? width,
  8. double? fontSize,
  9. double? circular,
  10. double? height,
  11. double? fontHeight,
  12. bool disable = false,
  13. Color? backGroundColor,
})

Implementation

const JUIButton({
  Key? key,
  required this.colorType,
  required this.sizeType,
  required this.text,
  required this.onTap,
  this.visibility,
  this.width,
  this.fontSize,
  this.circular,
  this.height,
  this.fontHeight,
  this.disable = false,
  this.backGroundColor,
}) : super(key: key);