flutter_forge 0.4.1 flutter_forge: ^0.4.1 copied to clipboard
A robust opinionated framework for building state based applications in a modular, testable, and composable style.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Generated by Git Changelog, an open source project brought to you by UpTech Works, LLC. A consultancy that partners with companies to help build, launch, and refine their products.
Unreleased - now #
0.4.1 - 2023-03-16 #
0.4.0 - 2023-03-16 #
Added #
- TestStore class to facilitate testing reducer & effect logic
- loadAsyncStateWidget() to all stores
- AsyncStateWidget to facilitate automated AsyncState loading
- AsyncState and related subclasses
0.3.0 - 2023-02-03 #
0.2.0 - 2022-12-23 #
Added #
- Reducer pullback operation
- Reducer combine operation
- pullbackMapAction() function
- combineActions() function
- setContext() & context() to ViewStore, ScopedViewStore, & CombinedViewStore
- ReducerTuple/ActionTuple.noop() factory constructor
Changed #
- Reducer from a function typedef to a class
- Actions to be class based
- EffectTask to include BuildContext as a parameter
- ViewStoreInterface to require setContext() & context()
- ReducerTuple.effectTask to ReducerTuple.effectTasks
- EffectTask from typealias of func to a class
- pullbackEffectTask() to EffectTask.pullback()
Removed #
- viewBuilder functionality
- mapEffectTask()
0.1.0 - 2022-11-03 #
Added #
- concept of EffectTask to facilitate effecting code
- ComponentWidget to control widget creation & lifecycle
- postInitState() lifecycle hook to ComponentWidget
- dispose() lifecycle hook to ComponentWidget
- dispose() lifecycle hook to ComponentWidget
- postInitState() hook to the ComponentWidget
Changed #
- main entry from forge.dart to flutter_forge.dart
- Actions to be pure functions from State to State
- ViewStore action processing to be non-blocking
- ComponentWidget dispose() hook to have no params