reactter 8.0.0-dev.5 reactter: ^8.0.0-dev.5 copied to clipboard
A light, powerful and quick Reactive State Management, Dependency Injection and Event Handler.
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(This is the documented here)
Counter #
Increase and decrease the counter.
Learn how to use reactive state using UseState.
Implements: RtWatcher
, UseState
.
Calculator #
Performs simple arithmetic operations on numbers
Learn how to provide and consume a dependency
Implements: BuildContext.use
, RtProvider
, RtSelector
, RtWatcher
, UseState
.
Shopping cart #
Add, remove product to cart and checkout.
Learn how to access to other dependency and keep its state.
Implements: ReactterComponent
, RtConsumer
, RtProvider
, RtProviders
, RtSelector
, UseDependencycy
, UseState
.
Tree widget #
Add, remove and hide child widget with counter.
Learn how to add or remove dependency dynamic and keep its state.
Implements: BuilContext.use
, BuilContext.watchId
, Reactter.lazyState
, ReactterComponent
, RtProvider
, UseEffect
, UseState
.
Github search #
Search user or repository and show info about it.
Learn how to manage state in async way.
Implements: Memo
, RtConsumer
, RtProvider
, UseAsyncState
.
To-Do List #
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.lazyState
, ReactterActionCallable
, ReactterCompontent
, RtConsumer
, RtProvider
, RtSelector
, UseCompute
, UseReducer
.
Animate widget #
Change size, shape and color using animations.
Learn how to create a custom hook.
Implements: Reactter.lazyState
, RtConsumer
, ReactterHook
, RtProvider
, RtSelector
, UseCompute
, UseEffect
, UseState
.