open<T> static method
Opens a bottom sheet by pushing a BottomSheetRoute onto the navigation stack.
Implementation
static Future<T?> open<T>(BuildContext context, Widget body) {
return Navigator.push<T>(
context,
BottomSheetRoute<T>(body: body, config: config),
);
}