uxcam / flutter-plugin

BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

Extend RouteObserver to automatically tag screen names in Flutter #17

Closed MrLightful closed 1 year ago

MrLightful commented 1 year ago

The documentation does mention that in the current state, uxcam/flutter-plugin is not able to capture screen names automatically as it does in the native plugins.

The solution, however, is fairly simple. Flutter provides a convenient API for RouteObserver, which is supported by Flutter's default router as well as by all major router solutions (e.g., go_router).