browser_detect 0.1.0+2 copy "browser_detect: ^0.1.0+2" to clipboard
browser_detect: ^0.1.0+2 copied to clipboard

outdatedDart 1 only

A library that provides information about the user's web browser.

Browser Detect #

A package that detects the browser being used to view a web page. Useful for blanket browser detection. If possible, try to use feature detection over this approach.

Usage #

Import the Browser Detect package.

import 'package:browser_detect/browser_detect.dart';

Use the library's browser field to query for information about the detected browser. This field contains properties for checking the browser type and version.

if (browser.isIe && browser.version <= "9") {
  // Do something.
}
0
likes
5
pub points
14%
popularity

Publisher

unverified uploader

A library that provides information about the user's web browser.

Homepage

License

BSD-2-Clause-Views (LICENSE)

More

Packages that depend on browser_detect