showRTost function

void showRTost(
  1. BuildContext context, {
  2. required String msg,
  3. RToastConfig? config,
})

Implementation

void showRTost(BuildContext context,
    {required String msg, RToastConfig? config}) {
  if (_toast?._context != context) {
    _toast = _RToast(context);
  }
  _toast?.showToast(msg, config);
}