Class StoreConnector<State, ViewModel> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class StoreConnector<State, ViewModel>

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    StoreConnector<State, ViewModel>
    Inherited Members
    StatelessWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.Redux
    Syntax
    public class StoreConnector<State, ViewModel> : StatelessWidget
    Type Parameters
    Name Description
    State
    ViewModel

    Constructors

    StoreConnector(ViewModelBuilder<ViewModel>, StoreConverter<State, ViewModel>, Boolean, ShouldRebuildCallback<ViewModel>, Key)

    Declaration
    public StoreConnector(ViewModelBuilder<ViewModel> builder = null, StoreConverter<State, ViewModel> converter = null, bool pure = false, ShouldRebuildCallback<ViewModel> shouldRebuild = null, Key key = null)
    Parameters
    Type Name Description
    ViewModelBuilder<ViewModel> builder
    StoreConverter<State, ViewModel> converter
    System.Boolean pure
    ShouldRebuildCallback<ViewModel> shouldRebuild
    Key key

    Fields

    builder

    Declaration
    public readonly ViewModelBuilder<ViewModel> builder
    Field Value
    Type Description
    ViewModelBuilder<ViewModel>

    converter

    Declaration
    public readonly StoreConverter<State, ViewModel> converter
    Field Value
    Type Description
    StoreConverter<State, ViewModel>

    pure

    Declaration
    public readonly bool pure
    Field Value
    Type Description
    System.Boolean

    shouldRebuild

    Declaration
    public readonly ShouldRebuildCallback<ViewModel> shouldRebuild
    Field Value
    Type Description
    ShouldRebuildCallback<ViewModel>

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023