user_agent_analyzer 5.0.0 copy "user_agent_analyzer: ^5.0.0" to clipboard
user_agent_analyzer: ^5.0.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
0
pub points
72%
popularity

Publisher

verified publisherdukefirehawk.com

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on user_agent_analyzer