This will get you the current url.
Uri.base
From the docs:
When running in a browser this is the current URL of the current page (from window.location.href).
https://api.flutter.dev/flutter/dart-core/Uri/base.html
This will get you the current url.
Uri.base
From the docs:
When running in a browser this is the current URL of the current page (from window.location.href).
https://api.flutter.dev/flutter/dart-core/Uri/base.html