user_agent_analyzer 5.2.0 copy "user_agent_analyzer: ^5.2.0" to clipboard
user_agent_analyzer: ^5.2.0 copied to clipboard

A library to identify the type of devices and web browsers based on User-Agent string.

example/example.dart

import 'package:user_agent_analyzer/user_agent_analyzer.dart';

void main() {
  var ua = UserAgent(
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36');
  print(ua.isChrome);
}
2
likes
160
pub points
72%
popularity

Publisher

verified publisherdukefirehawk.com

A library to identify the type of devices and web browsers based on User-Agent string.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on user_agent_analyzer