popToFirstPage static method
Implementation
static Future popToFirstPage(BuildContext context) async {
Navigator.popUntil(context, (Route<dynamic> route) => route.isFirst);
}
static Future popToFirstPage(BuildContext context) async {
Navigator.popUntil(context, (Route<dynamic> route) => route.isFirst);
}