win32_browser_detect 0.2.1 win32_browser_detect: ^0.2.1 copied to clipboard
This package detects the Windows default browser and returns the path to the exe.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add win32_browser_detect
With Flutter:
$ flutter pub add win32_browser_detect
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
win32_browser_detect: ^0.2.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:win32_browser_detect/win32_browser_detect.dart';