r2d2 0.1.1 copy "r2d2: ^0.1.1" to clipboard
r2d2: ^0.1.1 copied to clipboard

Dart 1 only

A modern device detection package

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add r2d2

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

dependencies:
  r2d2: ^0.1.1

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

Import it

Now in your Dart code, you can use:

import 'package:r2d2/r2d2_client.dart';
import 'package:r2d2/r2d2_common.dart';
import 'package:r2d2/r2d2_server.dart';
0
likes
5
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

A modern device detection package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_server, logging

More

Packages that depend on r2d2