AlertView constructor

const AlertView({
  1. Key? key,
  2. required Function confirmAction,
  3. Function? cancelAction,
  4. String? title,
  5. required String content,
  6. TextStyle? titleTextStyle,
  7. TextStyle? contentTextStyle,
  8. TextStyle? confirmTextStyle,
  9. TextStyle? cancelTextStyle,
  10. String? confirmText,
  11. String? cancelText,
})

Implementation

const AlertView({
  Key? key,
  required this.confirmAction,
  this.cancelAction,
  this.title,
  required this.content,
  this.titleTextStyle,
  this.contentTextStyle,
  this.confirmTextStyle,
  this.cancelTextStyle,
  this.confirmText,
  this.cancelText,
}) : super(key: key);