| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A cross-platfrom implementation of window.location.href & window.navigator.userAgent.
In your pubspec.yaml file add:
dependencies:
window_location_href: anyThen, in your code:
import 'window_location_href/window_location_href.dart';
final location = href;Above code returns current page url on web (window.location.href), and null on other platforms.
| Back | FazBrowse Home | New Git URL |