Class Scrollable | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Scrollable

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    Scrollable
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    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 Scrollable : StatefulWidget

    Constructors

    Scrollable(Key, AxisDirection, ScrollController, ScrollPhysics, ViewportBuilder, DragStartBehavior)

    Declaration
    public Scrollable(Key key = null, AxisDirection axisDirection = AxisDirection.down, ScrollController controller = null, ScrollPhysics physics = null, ViewportBuilder viewportBuilder = null, DragStartBehavior dragStartBehavior = DragStartBehavior.down)
    Parameters
    Type Name Description
    Key key
    AxisDirection axisDirection
    ScrollController controller
    ScrollPhysics physics
    ViewportBuilder viewportBuilder
    DragStartBehavior dragStartBehavior

    Fields

    axisDirection

    Declaration
    public readonly AxisDirection axisDirection
    Field Value
    Type Description
    AxisDirection

    controller

    Declaration
    public readonly ScrollController controller
    Field Value
    Type Description
    ScrollController

    dragStartBehavior

    Declaration
    public readonly DragStartBehavior dragStartBehavior
    Field Value
    Type Description
    DragStartBehavior

    physics

    Declaration
    public readonly ScrollPhysics physics
    Field Value
    Type Description
    ScrollPhysics

    viewportBuilder

    Declaration
    public readonly ViewportBuilder viewportBuilder
    Field Value
    Type Description
    ViewportBuilder

    Properties

    axis

    Declaration
    public Axis axis { get; }
    Property Value
    Type Description
    Axis

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)

    ensureVisible(BuildContext, Single, Nullable<TimeSpan>, Curve)

    Declaration
    public static IPromise ensureVisible(BuildContext context, float alignment = 0F, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
    Parameters
    Type Name Description
    BuildContext context
    System.Single alignment
    System.Nullable<System.TimeSpan> duration
    Curve curve
    Returns
    Type Description
    IPromise

    of(BuildContext)

    Declaration
    public static ScrollableState of(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    ScrollableState
    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