pushAndReplacement static method

Future pushAndReplacement(
  1. BuildContext context
)

Implementation

static Future<dynamic> pushAndReplacement(BuildContext context) async {
  return Navigator.pushReplacementNamed(context, ROUTE_NAME_SPLASH);
}