close static method
Closes the currently displayed bottom sheet by popping its route. This assumes that a bottom sheet route is currently active.
Implementation
static void close(BuildContext context) {
Navigator.pop(context);
}
Closes the currently displayed bottom sheet by popping its route. This assumes that a bottom sheet route is currently active.
static void close(BuildContext context) {
Navigator.pop(context);
}