lindi 0.3.1
lindi: ^0.3.1 copied to clipboard
Lindi is a lightweight and reactive state management library for Flutter that simplifies building applications with dynamic UI updates.
0.3.1 #
- Deleted unused files.
- Make LindiViewModel class abstract.
0.3.0 #
Removed
- Removed
LindiInjector
.
Added
- Added
Lindi
toinject
andget
LindiViewModel instances, simpler and more straightforward
Lindi.inject([CounterLindiViewModel()...]);
.
.
final counterViewModel = Lindi.get<CounterLindiViewModel>();
copied to clipboard
0.2.0 #
Removed
- Removed
LindiMultiBuilder
, now you can useLindiBuilder
for single and multiple viewModels.
Added
- Added
listeners
to LindiBuilder a callback function that listen when theviewModel
updates. - Added
hasData
to check if a viewModel have data. - Added
unregister<T>()
to unregister a specific instance ofLindiViewModel
from LindiInjector.
Changed
- Changed
viewModel
parameter toviewModels
now can accept list ofLindiViewModel
.
0.1.1 #
Added
- Unit tests for
LindiViewModel
,LindiBuilder
,LindiMultiBuilder
,LindiInjector
,LindiException
.
0.1.0 #
Added
- Initial release of
LindiViewModel<D, E>
. - Implemented
setLoading()
,setData(D data)
, andsetError(E error)
methods.
0.0.1 #
- Publish