platform_detect 1.2.0 copy "platform_detect: ^1.2.0" to clipboard
platform_detect: ^1.2.0 copied to clipboard

outdatedDart 1 only

A lightweight library for detecting the running browser and OS

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add platform_detect

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  platform_detect: ^1.2.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:platform_detect/platform_detect.dart';
36
likes
0
pub points
91%
popularity

Publisher

verified publisherworkiva.com

A lightweight library for detecting the running browser and OS

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

pub_semver

More

Packages that depend on platform_detect