x_user_agent 1.0.0 copy "x_user_agent: ^1.0.0" to clipboard
x_user_agent: ^1.0.0 copied to clipboard

Retrieve device user agents in Flutter

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add x_user_agent

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

dependencies:
  x_user_agent: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:x_user_agent/x_user_agent.dart';
3
likes
150
points
41
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Retrieve device user agents in Flutter

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on x_user_agent

Packages that implement x_user_agent