openRoute abstract method

Future openRoute(
  1. Route route, {
  2. bool root = false,
  3. bool replacement = false,
})

Pushes route into current Navigator. route - specific route: type, settings, transition etc. root - pushes route into root Navigator - onto top of everything. replacement - pushes route as replacement of current route.

Implementation

Future<dynamic> openRoute(Route route,
    {bool root = false, bool replacement = false});