popUntilName method

void popUntilName(
  1. String routeName
)

Implementation

void popUntilName(String routeName) => key.currentState
    ?.popUntil((Route<dynamic> route) => route.settings.name == routeName);