Class StoreProvider<State>
Inheritance
StoreProvider<State>
Inherited Members
Namespace: Unity.UIWidgets.Redux
Syntax
public class StoreProvider<State> : InheritedWidget
Type Parameters
Name | Description |
---|---|
State |
Constructors
StoreProvider(Store<State>, Widget, Key)
Declaration
public StoreProvider(Store<State> store = null, Widget child = null, Key key = null)
Parameters
Type | Name | Description |
---|---|---|
Store<State> | store | |
Widget | child | |
Key | key |
Methods
of(BuildContext)
Declaration
public static Store<State> of(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context |
Returns
Type | Description |
---|---|
Store<State> |
updateShouldNotify(InheritedWidget)
Declaration
public override bool updateShouldNotify(InheritedWidget old)
Parameters
Type | Name | Description |
---|---|---|
InheritedWidget | old |
Returns
Type | Description |
---|---|
Boolean |