push method

Future<void> push({
  1. required String route,
  2. Map<String, dynamic>? item,
  3. dynamic onPop()?,
})

Implementation

Future<void> push({
  required String route,
  Map<String, dynamic>? item,
  dynamic Function()? onPop,
}) async {
  await Get.find<PageManager>()
      .push(route: route, item: item, context: this, onPop: onPop);
}