dimension 0.1.7 copy "dimension: ^0.1.7" to clipboard
dimension: ^0.1.7 copied to clipboard

A Flutter package that introduce the Dimension class. It mimics the css length unit and supports units like px, percentage, vw, vh, vmin ,and vmax.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dimension

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

dependencies:
  dimension: ^0.1.7

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:dimension/dimension.dart';
16
likes
140
pub points
66%
popularity

Publisher

verified publisherwenkaifan.com

A Flutter package that introduce the Dimension class. It mimics the css length unit and supports units like px, percentage, vw, vh, vmin ,and vmax.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_class_parser

More

Packages that depend on dimension