pwa_info 1.2.0
pwa_info: ^1.2.0 copied to clipboard
A Flutter package for detecting device and browser information in Progressive Web Apps (PWAs). Supports OS, browser, mobile, and standalone mode detection.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pwa_infoThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pwa_info: ^1.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pwa_info/pwa_info.dart';