show method

Future<T?> show(
  1. BuildContext context
)

Displays a Richbar widget above the current contents of the app, With Material entrance and exit animations

Modal barrier behavior (Richbar is dismissible with a slide horizontally or vertically depending on the dismissableDirection).

Implementation

Future<T?> show(BuildContext context) async {
  richbarRoute = routes.showRichbar<T>(
    context: context,
    richbar: this,
  ) as routes.RichbarRoute<T?>;
  return await Navigator.of(context, rootNavigator: false)
      .push(richbarRoute as Route<T>);
}