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

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_class_parser

More

Packages that depend on responsive_property