push method

Future push(
  1. Widget destination
)

Implementation

Future<dynamic> push(Widget destination) => navigatorKey.currentState!
    .push(CustomPageRoute(builder: (context) => destination));