butter library

A thin application framework for flutter making use of async_redux.

Butter allows you to structure your app into modules and submodules where each module is composed of pages, states, models and actions as already introduced by redux.

Most common classes used to structure the app are: BaseAction, BaseModule, BasePageState, BaseStatefulPageView, and BaseStatelessPageView

References:

Classes

AppPersistor
AppState
Stores the application's state
BaseAction
A ReduxAction wrapper for Action objects and provides all necessary utilities needed to interact with the Store and the Navigator.
BaseDispatcher
A base interface for dispatching actions to the Store
BaseModule
The base Module. It handles the internal routing of the module.
BaseNavigator
The base interface for navigation
BasePageConnector<PageState extends BasePageState<BaseUIModel>, PageView extends BasePageView>
Pairs the Page to its State
BasePageSpecs
The base class for page specifications [...]
BasePageState<Model extends BaseUIModel>
A BaseModel wrapper for State objects and provides all necessary utilities needed to interact with the Store and the Navigator.
BasePageTransition
The base class for page transitions [...]
BasePageView
The base class for butter pages
BaseRoutes
This is the base definition of a route class [...]
BaseStatefulPageView
An implementation of the BasePageView using a StatefulWidget [...]
BaseStatelessPageView
An implementation of the BasePageView using a StatelessWidget [...]
BaseUIModel<T>
The base definition of UI Models
Butter
Provider of first class butter library objects and settings
PageArguments<PageTransition extends BasePageTransition>
The page arguments to be passed to a route

Enums

LogLevel
Butter log levels