showFlushbar<T> function

FlushbarRoute showFlushbar<T>({
  1. required BuildContext context,
  2. required Flushbar flushbar,
})

Implementation

FlushbarRoute showFlushbar<T>(
    {required BuildContext context, required Flushbar flushbar}) {
  return FlushbarRoute<T>(
    flushbar: flushbar,
    settings: const RouteSettings(name: FLUSHBAR_ROUTE_NAME),
  );
}