trent 0.3.0
trent: ^0.3.0 copied to clipboard
A Flutter package for simple, scalable, and reactive state management with built-in dependency injection and efficient stream-based state handling.
0.3.0 #
- Adds
cancelableAsyncOp
toTrent
class, allowing for the cancellation of optional async operations viavoid reset({bool cancelInFlightAsyncOps = true})
orcancelInFlightAsyncOps
. This helps prevent state leaking across sessions. - Adds documentation.
0.2.1 #
- Fixes broken import.
0.2.0 #
- Adds
Future<AsyncCompleted<T>> cancelableAsyncOp<T>(Future<T> Function() work)
wrapper function toTrent
class, allowing for the cancellation of optional async operations viavoid reset({bool cancelAsyncOps = true})
. This helps prevent state leaking across sessions.
0.1.1 #
- Updates
TrentManager
'strents
field to be optional. - Updates
register
function to be callable outside the widget tree. This is useful if you want to start the lifecycle of your Trents before you executerunApp
, such as in themain
function.
0.1.0 #
get<T>(BuildContext)
->get<T>()
, removing the need to passBuildContext
toget
method.- README updates to update documentation.
0.0.7 #
- README updates. Specifically, adds link to blog post with more information on the package.
0.0.6 #
- README image sizing fixed.
0.0.5 #
- Improved documentation and examples in the README.
0.0.4 #
- Updates the
Alerter
widget to include anOption
type for the previous alert state in itslistenAlertsIf
function, as it may be absent when there is no default alert, unlike the default state which is always present.
0.0.3 #
- README updates.
0.0.2 #
- Improves documentation.
- Adds example weather app.
- Fixes assorted errors.
0.0.1 #
- Initial release.