JacButton constructor

const JacButton({
  1. Key? key,
  2. required JacButtonColorType colorType,
  3. required JacButtonSizeType 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,
})

Implementation

const JacButton({
  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,
}) : super(key: key);