platform_is_android_tablet 0.0.1 copy "platform_is_android_tablet: ^0.0.1" to clipboard
platform_is_android_tablet: ^0.0.1 copied to clipboard

PlatformAndroid

A Flutter plugin for Android that provides a reliable way to detect whether the current device is a tablet, even without UI context.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add platform_is_android_tablet

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

dependencies:
  platform_is_android_tablet: ^0.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:platform_is_android_tablet/platform_is_android_tablet.dart';
0
likes
160
points
78
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for Android that provides a reliable way to detect whether the current device is a tablet, even without UI context.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on platform_is_android_tablet

Packages that implement platform_is_android_tablet