responsive_property 0.0.5 copy "responsive_property: ^0.0.5" to clipboard
responsive_property: ^0.0.5 copied to clipboard

outdated

Inspired by Flutter's MaterialStateProperty, gives you a responsive value based on the current screen dimension.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add responsive_property

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

dependencies:
  responsive_property: ^0.0.5

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:responsive_property/responsive_property.dart';
10
likes
0
pub points
55%
popularity

Publisher

verified publisherwenkaifan.com

Inspired by Flutter's MaterialStateProperty, gives you a responsive value based on the current screen dimension.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_class_parser

More

Packages that depend on responsive_property