pushNamed method
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);
}