open static method

void open(
  1. BuildContext context,
  2. Widget body
)

Opens a bottom sheet by pushing a BottomSheetRoute onto the navigation stack.

Implementation

static void open(BuildContext context, Widget body) {
  Navigator.push(context, BottomSheetRoute(body: body, config: config));
}