moveAndReplaceName static method

dynamic moveAndReplaceName(
  1. BuildContext context,
  2. String routeName
)

Implementation

static moveAndReplaceName(BuildContext context, String routeName) {
  Navigator.pushReplacementNamed(context, routeName);
}