showErrorMsg method

Future<bool> showErrorMsg(
  1. String message, {
  2. String? title = "",
  3. String? confirmText,
})

Show Error MessageBox

Implementation

Future<bool> showErrorMsg(
  String message, {
  String? title = "",
  String? confirmText,
}) async {
  if (title == "") {
    title = 'Lỗi';
  }
  return await message.V_MsgBox(
    this,
    title: title,
    type: CyberMsgBoxType.error,
    confirmText: confirmText,
  );
}