showToastMessageBar<T> function

ToastMessageBarRoute showToastMessageBar<T>({
  1. required BuildContext context,
  2. required ToastMessageBar toastMessageBar,
})

Implementation

ToastMessageBarRoute showToastMessageBar<T>(
    {required BuildContext context, required ToastMessageBar toastMessageBar}) {
  return ToastMessageBarRoute<T>(
    toastMessageBar: toastMessageBar,
    settings: const RouteSettings(name: toastMessageBarRouteName),
  );
}