showSuccess method

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

Show Default MessageBox (Success)

Implementation

Future<bool> showSuccess(
  String message, {
  String? title = "",
  String? confirmText,
}) async {
  if (title == "") {
    title = 'Thông báo';
  }
  return await message.V_MsgBox(
    this,
    title: title,
    type: CyberMsgBoxType.defaultType,
    confirmText: confirmText,
  );
}