AlertRF constructor

AlertRF({
  1. @required BuildContext? context,
  2. String? title,
  3. @required String? msg,
  4. IconData? icon,
  5. String confirmText = 'OK',
  6. String cancelText = 'CANCEL',
  7. Function? onConfirm,
})

Implementation

AlertRF(
    {@required this.context,
    this.title,
    @required this.msg,
    this.icon,
    this.confirmText = 'OK',
    this.cancelText = 'CANCEL',
    this.onConfirm});