flutter_built_redux library

Classes

ReduxProvider
ReduxProvider provides access to the redux store to descendant widgets. ReduxProvider must be an ancesestor of a StoreConnector, otherwise the StoreConnector will throw during initialization.
StoreConnection<StoreState, Actions extends ReduxActions, LocalState>
StoreConnection is a widget that rebuilds when the redux store has triggered and the connect function yields a new result. It is an implementation of StoreConnector that takes a connect function and builder function as parameters so StoreConnector doesn't have to be implemented manually. [...]
StoreConnector<StoreState, Actions extends ReduxActions, LocalState>
StoreConnector is a widget that rebuilds when the redux store has triggered and the connect function yields a new result. StoreState is the generic type of your built_redux store's state object Actions is the generic tyoe of your built_redux store's actions contiainer LocalState is the state from your store that this widget needs to render. LocalState should be comparable. It is recommended to only use primitive or built types.

Typedefs

Connect<StoreState, LocalState>(StoreState state) → LocalState
Connect maps state from the store to the local state that a give component cares about
StoreConnectionBuilder<LocalState, Actions extends ReduxActions>(BuildContext context, LocalState state, Actions actions) Widget
StoreConnectionBuilder returns a widget given context, local state, and actions