state_groups 0.3.0
state_groups: ^0.3.0 copied to clipboard
State management for the rest of us. State_groups is an easy way of managing state. In fact it doesn't manage state at all, it's stateless and only focuses on messaging.
0.3.0 #
- Added the
onlyOneAllowedandqueueMessagesparameters toStateGroup<T> - BREAKING removed
errorFunctioninSyncState<T> - Updated readme with
SyncStateBuilder<T>
0.2.1 #
- Added
SyncStateBuilderwhich allows you to usestate_groupswithout making a custom widget - Upgraded to Dart 2.17
0.2.0 #
- Updated to Flutter 3
- Removed the
!operator inWidgetsBinding.instance!because it is no necessary in Flutter 3
0.1.5 #
- Have to call
WidgetsBinding.instance!.scheduleFrame()afterWidgetsBinding.instance!.addPostFrameCallback()otherwise there's no guarantee the scheduled command is actually run
0.1.4 #
onNotify()should have a return type of void not null
0.1.3 #
- Now you can make state groups run custom logic when activated
0.1.2 #
- Updates to documentation and added example
0.1.1 #
- The argument to
notifyAll()should actually be optional
0.1.0 #
- BREAKING You can now pass custom message types to state groups (not just int)
0.0.1 #
- Initial release