june 1.0.2
june: ^1.0.2 copied to clipboard
June is a lightweight and modern state management library that focuses on providing a pattern very similar to Flutter's native state management.
1.0.2 #
- Fix: Added explicit
voidreturn type tostartAction()to resolve static analysis warning (missing_return_type_for_function_expression), improving pub score.
1.0.1+2 #
- Fix: Listener mismatch when
widget.idis aJuneStateinstance — the listener is now registered directly on that instance viaidState.addListenerId(widget.id, filter). Previously it was always registered onlocalController(the June-managed singleton for the type), sosetState([this])called on a different instance would search the wrong HashMap, find no updaters, and produce no rebuild.
1.0.1 #
- Fix:
JuneBuildernow correctly forwards_creatorasinittoBinder, enablingglobal: falseto work with externally-createdJuneStateinstances (issue #8). Previously, passing a pre-existing instance via the creator function withglobal: falsewould throw aBindErrorbecauseBindElementhad no reference to the user-provided instance. - Fix: Silent listener mismatch when the same state type is registered multiple times (e.g. across navigation pushes), causing
setState()to find no updaters and skip rebuilds entirely.