flutter_device_kit 1.0.1 copy "flutter_device_kit: ^1.0.1" to clipboard
flutter_device_kit: ^1.0.1 copied to clipboard

A Flutter utility package to easily detect device platforms, form factors (mobile, tablet, TV, desktop, web), and inspect platform-specific device info.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_device_kit

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

dependencies:
  flutter_device_kit: ^1.0.1

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:flutter_device_kit/flutter_device_kit.dart';
0
likes
150
points
151
downloads

Documentation

API reference

Publisher

verified publisherabhishekmraj.me

Weekly Downloads

A Flutter utility package to easily detect device platforms, form factors (mobile, tablet, TV, desktop, web), and inspect platform-specific device info.

Repository (GitHub)
View/report issues

Topics

#device-info #cross-platform #flutter #utilities

License

MIT (license)

Dependencies

device_info_plus, flutter, universal_platform

More

Packages that depend on flutter_device_kit