state_set 4.0.0+1 copy "state_set: ^4.0.0+1" to clipboard
state_set: ^4.0.0+1 copied to clipboard

Collects all the app's State Objects for readily and reliable State Management..

The StateSet Mixin #

Find the right State object to call its setState(). Collects State Objects by type into a Map object for reliable access across the app.

Installing #

I don't like the version number suggested on the Installing page. In most cases, always go up to the 'major' semantic version number. In your pubspec.yaml file, type in the 'major' semantic version number followed by two trailing zeros like so: '.0.0'

dependencies:
 set_state: ^ 3.0.0

This package has extensive documentation in the free medium article, Mixin' State Objects Part 1: The screenshot below one of the State classes that make up this example app. It reveals how a State object is incorporated into the StateSet class for ready access. All it takes is to apply the mixin, StateSet.

3
likes
160
points
62
downloads

Publisher

verified publisherandrioussolutions.com

Weekly Downloads

Collects all the app's State Objects for readily and reliable State Management..

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on state_set