hide static method

void hide(
  1. BuildContext context
)

Implementation

static void hide(BuildContext context) {
  Navigator.of(context, rootNavigator: true).pop();
}