pushNativeRoute method
Internal method: open a native Activity/ViewController route.
The platform side dispatches to the NativeRouteHandler set via
InlayNavigator.setNativeRouteHandler(...) on Android/iOS.
Use the generated .toNativeRoute() extension on pigeon page classes:
InlayNavigator.instance.push(
NativeEditProfilePage(contactId: '42').toNativeRoute(),
);
Implementation
@override
Future<void> pushNativeRoute(PageSettings page) async {
pushedPages.add(page);
}