provider_statekit 1.0.2 copy "provider_statekit: ^1.0.2" to clipboard
provider_statekit: ^1.0.2 copied to clipboard

The state/controller/ViewModel basic toolkit under the Provider architecture

provider_statekit #

The state/controller/ViewModel basic toolkit under the Provider architecture.

Features #

  • Provide four base classes: BaseState, BaseStateController, BaseStateViewModel, and BaseStateScope, to help you quickly build modular state management based on Provider.
  • Support unified asynchronous initialization, error handling, event subscription and automatic injection, eliminating the need to repeatedly write template code.
  • The design is flexible, allowing you to extend subclasses as needed in new projects or existing projects to implement domain business logic.

Installation #

Add the dependency in pubspec.yaml:

dependencies:
  provider_statekit: ^1.0.0

Then run:

flutter pub get

Usage #

Please check the example.

License #

The project is under the MIT license.

0
likes
150
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The state/controller/ViewModel basic toolkit under the Provider architecture

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, provider

More

Packages that depend on provider_statekit