TopAlert constructor

const TopAlert({
  1. Key? key,
  2. String? title,
  3. required String message,
  4. required double width,
  5. dynamic cancel()?,
  6. dynamic ok()?,
  7. String? okText,
  8. String? cancelText,
})

Implementation

const TopAlert({
  super.key,
  this.title,
  required this.message,
  required this.width,
  this.cancel,
  this.ok,
  this.okText,
  this.cancelText,
});