lindi 0.5.1
lindi: ^0.5.1 copied to clipboard
Lindi is a lightweight and reactive state management library for Flutter that simplifies building applications with dynamic UI updates.
0.5.1 #
- Added property
storageNametoLindi.init() - Updated to latest Flutter version
0.5.0 #
- Added
LindiStorageViewModelto save data to storage - To use Lindi you now need to call
await Lindi.init()before using Lindi - Updated to latest Flutter version
0.3.1 #
- Deleted unused files.
- Make LindiViewModel class abstract.
0.3.0 #
Removed
- Removed
LindiInjector.
Added
- Added
LinditoinjectandgetLindiViewModel instances, simpler and more straightforward
Lindi.inject([CounterLindiViewModel()...]);
.
.
final counterViewModel = Lindi.get<CounterLindiViewModel>();
0.2.0 #
Removed
- Removed
LindiMultiBuilder, now you can useLindiBuilderfor single and multiple viewModels.
Added
- Added
listenersto LindiBuilder a callback function that listen when theviewModelupdates. - Added
hasDatato check if a viewModel have data. - Added
unregister<T>()to unregister a specific instance ofLindiViewModelfrom LindiInjector.
Changed
- Changed
viewModelparameter toviewModelsnow 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
