TpAlertDialog constructor

const TpAlertDialog({
  1. required String title,
  2. required String message,
  3. required String cancelText,
  4. required dynamic onOkButton(),
  5. Color color = Colors.blue,
  6. Key? key,
})

Implementation

const TpAlertDialog({
  required this.title,
  required this.message,
  required this.cancelText,
  required this.onOkButton,
  this.color = Colors.blue,
  Key? key,
}) : super(key: key);