pushNamed method

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

Implementation

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