Class PageView | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class PageView

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    PageView
    Inherited Members
    StatefulWidget.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.widgets
    Syntax
    public class PageView : StatefulWidget

    Constructors

    PageView(Key, Axis, Boolean, PageController, ScrollPhysics, Boolean, ValueChanged<Int32>, List<Widget>, DragStartBehavior, IndexedWidgetBuilder, SliverChildDelegate, Int32)

    Declaration
    public PageView(Key key = null, Axis scrollDirection = Axis.horizontal, bool reverse = false, PageController controller = null, ScrollPhysics physics = null, bool pageSnapping = true, ValueChanged<int> onPageChanged = null, List<Widget> children = null, DragStartBehavior dragStartBehavior = DragStartBehavior.start, IndexedWidgetBuilder itemBuilder = null, SliverChildDelegate childDelegate = null, int itemCount = 0)
    Parameters
    Type Name Description
    Key key
    Axis scrollDirection
    Boolean reverse
    PageController controller
    ScrollPhysics physics
    Boolean pageSnapping
    ValueChanged<Int32> onPageChanged
    List<Widget> children
    DragStartBehavior dragStartBehavior
    IndexedWidgetBuilder itemBuilder
    SliverChildDelegate childDelegate
    Int32 itemCount

    Fields

    childrenDelegate

    Declaration
    public readonly SliverChildDelegate childrenDelegate
    Field Value
    Type Description
    SliverChildDelegate

    controller

    Declaration
    public readonly PageController controller
    Field Value
    Type Description
    PageController

    dragStartBehavior

    Declaration
    public readonly DragStartBehavior dragStartBehavior
    Field Value
    Type Description
    DragStartBehavior

    onPageChanged

    Declaration
    public readonly ValueChanged<int> onPageChanged
    Field Value
    Type Description
    ValueChanged<Int32>

    pageSnapping

    Declaration
    public readonly bool pageSnapping
    Field Value
    Type Description
    Boolean

    physics

    Declaration
    public readonly ScrollPhysics physics
    Field Value
    Type Description
    ScrollPhysics

    reverse

    Declaration
    public readonly bool reverse
    Field Value
    Type Description
    Boolean

    scrollDirection

    Declaration
    public readonly Axis scrollDirection
    Field Value
    Type Description
    Axis

    Methods

    builder(IndexedWidgetBuilder, Key, Axis, Boolean, PageController, ScrollPhysics, Boolean, ValueChanged<Int32>, Int32, DragStartBehavior)

    Declaration
    public static PageView builder(IndexedWidgetBuilder itemBuilder, Key key = null, Axis scrollDirection = Axis.horizontal, bool reverse = false, PageController controller = null, ScrollPhysics physics = null, bool pageSnapping = true, ValueChanged<int> onPageChanged = null, int itemCount = 0, DragStartBehavior dragStartBehavior = DragStartBehavior.start)
    Parameters
    Type Name Description
    IndexedWidgetBuilder itemBuilder
    Key key
    Axis scrollDirection
    Boolean reverse
    PageController controller
    ScrollPhysics physics
    Boolean pageSnapping
    ValueChanged<Int32> onPageChanged
    Int32 itemCount
    DragStartBehavior dragStartBehavior
    Returns
    Type Description
    PageView

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    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