pushReplacementNamed method

void pushReplacementNamed(
  1. String routeName
)

Implementation

void pushReplacementNamed(String routeName) {
  Navigator.of(this).pushReplacementNamed(routeName);
}