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