length_unit 0.1.2 copy "length_unit: ^0.1.2" to clipboard
length_unit: ^0.1.2 copied to clipboard

discontinuedreplaced by: dimension

A Flutter package that introduce the Length class and some related class like DynamicOffset. It mimics the css length unit and supports four unit including px, percentage, vw and vh.

[0.0.1] - #

Implemented the Length, DynamicOffset, etc classes. Implemented various conversion utilities for those class to work with numbers. Implemented serialization/desirialization methods for those classes.

[0.0.2] - 02/07/2021 #

Allow offset and radius classes to pass screen size.

[0.0.3] - 02/07/2021 #

Add a simple example.

[0.0.4] - 02/07/2021 #

Update all the toXXX methods with named parameters

[0.0.5] - 02/10/2021 #

Add dynamic edge insets

[0.0.6] - 02/11/2021 #

Add dynamic border side

[0.0.7] - 02/13/2021 #

Add dynamic border sides

[0.0.8] - 02/14/2021 #

Add dynamic border sides

[0.0.9] - 02/19/2021 #

Remove dynamic border side/sides

[0.1.0] - 02/19/2021 #

remove a wrong import

[0.1.1] - 02/23/2021 #

Allow negative length

[0.1.2] - 02/24/2021 #

Allow negate length

1
likes
90
pub points
1%
popularity

Publisher

verified publisherwenkaifan.com

A Flutter package that introduce the Length class and some related class like DynamicOffset. It mimics the css length unit and supports four unit including px, percentage, vw and vh.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_class_parser

More

Packages that depend on length_unit