physical_diagonal 0.1.0 copy "physical_diagonal: ^0.1.0" to clipboard
physical_diagonal: ^0.1.0 copied to clipboard

outdated

Detects physical screen diagonal in inches. Physical diagonal of the screen helps to optimize design for Tablets/bigger screens. Calculation relies on system pixel density information, so it might be [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add physical_diagonal

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

dependencies:
  physical_diagonal: ^0.1.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:physical_diagonal/physical_diagonal.dart';
2
likes
0
points
396
downloads

Publisher

verified publisherivanitsky.top

Weekly Downloads

Detects physical screen diagonal in inches. Physical diagonal of the screen helps to optimize design for Tablets/bigger screens. Calculation relies on system pixel density information, so it might be slightly inaccurate for Android devices (about 5%)

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on physical_diagonal

Packages that implement physical_diagonal