CkAlert constructor

CkAlert({
  1. required String title,
  2. required Function onTap,
  3. Widget? content,
  4. bool disableActionButton = false,
  5. bool disableCancelButton = false,
  6. String? actionButtonTittle,
  7. String? cancelButtonTittle,
  8. Color? cancelButtonColor,
  9. Color? actionButtonColor,
  10. Color? actionTitleColor,
  11. Color? cancelTitleColor,
})

Implementation

CkAlert({
  required this.title,
  required this.onTap,
  this.content,
  this.disableActionButton = false,
  this.disableCancelButton = false,
  this.actionButtonTittle,
  this.cancelButtonTittle,
  this.cancelButtonColor,
  this.actionButtonColor,
  this.actionTitleColor,
  this.cancelTitleColor,
}) {
  _alertBuilder();
}