reactter 4.0.0-dev.2 reactter: ^4.0.0-dev.2 copied to clipboard
Reactter is a light, powerful and reactive state management.
Reactter examples #
This page contains several examples with different feature of reactter.
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 use multiple signal.
Implements: ReactterContext
, ReactterProvider
, ReactterWatcher
, Signal
.
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: ReactterActionCallable
, ReactterContext
, ReactterProvider
, UseReducer
.
Shopping cart #
Add, remove product to cart and checkout.
Learn how to access to other context and keep its state.
Implements: ReactterComponent
, ReactterContext
, ReactterProvider
, ReactterProviders
, UseState
.
Tree widget #
Add, remove and hide child widget with counter.
Learn how to add or remove context dynamic and keep its state.
Implements: ReactterComponent
, ReactterContext
, ReactterProvider
, UseState
.
Github search #
Search user or repository and show info about it.
Learn how to manage state in async way.
Implements: ReactterContext
, ReactterComponent
, ReactterProvider
, UseAsyncState
, UseState
.
Animate widget #
Change size, shape and color using animations.
Learn how to create a custom hook.
Implements: ReactterContext
, ReactterHook
, ReactterProvider
, UseEvent
.