popUntilFirst method

void popUntilFirst()

Pops until the first route.

Implementation

void popUntilFirst() => Navigator.of(this).popUntil((route) => route.isFirst);