reactter 5.1.2 reactter: ^5.1.2 copied to clipboard
A light, powerful and quick Reactive State Management, Dependency Injection and Event Management.
Reactter examples #
This page contains several examples with different feature of Reactter.
And you can also view the examples online using zapp.
Quickstart #
Run next commands:
flutter create .
flutter run
for Github search example, add http permission:
Counter #
Increase and decrease the counter.
Learn how to use signal.
Implements: ReactterWatcher
, Signal
.
Calculator #
Performs simple arithmetic operations on numbers
Learn how to provide and consume a instance.
Implements: BuildContext.use
, ReactterConsumer
, ReactterProvider
, Signal
.
Shopping cart #
Add, remove product to cart and checkout.
Learn how to access to other instance and keep its state.
Implements: ReactterComponent
, ReactterConsumer
, ReactterProvider
, ReactterProviders
, UseState
.
Tree widget #
Add, remove and hide child widget with counter.
Learn how to add or remove instance dynamic and keep its state.
Implements: BuildContext.use
, BuildContext.watchId
, ReactterComponent
, ReactterProvider
, UseEffect
, UseState
.
Github search #
Search user or repository and show info about it.
Learn how to manage state in async way.
Implements: ReactterConsumer
, ReactterProvider
, UseAsyncState
, UseState
.
Todos #
Add and remove to-do, mark and unmark to-do as done and filter to-do list.
Learn how to use the reducer hook like Redux.
Implements: Reactter.lazy
, ReactterActionCallable
, ReactterConsumer
, ReactterProvider
, UseCompute
, UseReducer
.
Animate widget #
Change size, shape and color using animations.
Learn how to create a custom hook.
Implements: ReactterConsumer
, ReactterHook
, ReactterProvider
, UseEffect
, UseEvent
.