toNamed method

void toNamed(
  1. String route
)

Implementation

void toNamed(String route) => Navigator.of(this).pushNamed(route);