showFreeBottomSheet<T> function

PersistentBottomSheetController<T> showFreeBottomSheet <T>(
  1. {@required BuildContext context,
  2. @required WidgetBuilder builder}
)

Implementation

PersistentBottomSheetController<T> showFreeBottomSheet<T>({
  @required BuildContext context,
  @required WidgetBuilder builder,
}) {
  assert(context != null);
  assert(builder != null);
  return Scaffold.of(context).showBottomSheet<T>(builder);
}