goToAndClearPrev method

  1. @override
dynamic goToAndClearPrev(
  1. BuildContext context,
  2. String route, {
  3. dynamic arguments,
})

Implementation

@override
goToAndClearPrev(BuildContext context, String route, {arguments}) {
  Navigator.of(context).popAndPushNamed(route, arguments: arguments);
}