user_agent_analyzer 5.3.0 user_agent_analyzer: ^5.3.0 copied to clipboard
A library to identify the type of devices and web browsers based on User-Agent string.
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);
}