Describe the bug
GetPage PreventDuplicateHandlingMode is defined but has no effect when used in Naviger2, still uses the default PreventDuplicateHandlingMode.reorderRoutes
Reproduction code
When using Get.toNamed, one of the APIs (_configureRouterDecoder) uses copyWith of GetPage, causing PreventDuplicateHandlingMode to be lost
Describe the bug GetPage PreventDuplicateHandlingMode is defined but has no effect when used in Naviger2, still uses the default PreventDuplicateHandlingMode.reorderRoutes
Reproduction code When using Get.toNamed, one of the APIs (_configureRouterDecoder) uses copyWith of GetPage, causing PreventDuplicateHandlingMode to be lost
To Reproduce None
Expected behavior Allow GetPage PreventDuplicateHandlingMode to be customized and used in navigator2
Screenshots
Flutter Version: Flutter 3.24.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision dec2ee5c1f (8 days ago) • 2024-11-13 11:13:06 -0800 Engine • revision a18df97ca5 Tools • Dart 3.5.4 • DevTools 2.37.3
Getx Version: ^5.0.0-release-candidate-9.2.1
Describe on which device you found the bug: ex: IPhone 12 mini
Minimal reproduce code None