lindi 0.3.1 copy "lindi: ^0.3.1" to clipboard
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 to inject and get 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 use LindiBuilder for single and multiple viewModels.

Added

  • Added listeners to LindiBuilder a callback function that listen when the viewModel updates.
  • Added hasData to check if a viewModel have data.
  • Added unregister<T>() to unregister a specific instance of LindiViewModel from LindiInjector.

Changed

  • Changed viewModel parameter to viewModels now can accept list of LindiViewModel.

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), and setError(E error) methods.

0.0.1 #

  • Publish
4
likes
160
points
364
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

2024.09.08 - 2025.03.23

Lindi is a lightweight and reactive state management library for Flutter that simplifies building applications with dynamic UI updates.

Repository (GitHub)
View/report issues
Contributing

Topics

#lindi #state-management

Documentation

API reference

Funding

Consider supporting this project:

patreon.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on lindi