iac_route_tracker_ext 2.0.1
iac_route_tracker_ext: ^2.0.1 copied to clipboard
Route tracker extension for in_app_console. Tracks navigation routes and deep links using Flutter's Navigator 1.0 observer API.
Route Tracker Extension for In-App Console #
A Flutter plugin that adds navigation tracking to the in_app_console package. View the live route stack, navigation history, and route payloads directly in your in-app console.
What does it do? #
This extension displays real-time navigation state including the current route stack with payloads and a chronological history of push/pop events with timestamps. It uses Flutter's Navigator 1.0 observer API and only tracks PageRoute transitions.
Screenshot #
Register the observer and extension #
final routeTracker = IacRouteTrackerNavigationObserver();
// Attach the observer to your Navigator
MaterialApp(
navigatorObservers: [routeTracker],
...
);
// Register the extension with the console
InAppConsole.instance.registerExtension(
IacRouteTrackerExtension(observer: routeTracker),
);