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

    Class ListView

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    ScrollView
    BoxScrollView
    ListView
    Inherited Members
    BoxScrollView.padding
    BoxScrollView.buildSlivers(BuildContext)
    ScrollView.scrollDirection
    ScrollView.reverse
    ScrollView.controller
    ScrollView.primary
    ScrollView.physics
    ScrollView.shrinkWrap
    ScrollView.center
    ScrollView.anchor
    ScrollView.cacheExtent
    ScrollView.dragStartBehavior
    ScrollView.getDirection(BuildContext)
    ScrollView.buildViewport(BuildContext, ViewportOffset, AxisDirection, List<Widget>)
    ScrollView.build(BuildContext)
    StatelessWidget.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 ListView : BoxScrollView

    Constructors

    ListView(Key, Axis, Boolean, ScrollController, Nullable<Boolean>, ScrollPhysics, Boolean, EdgeInsets, Nullable<Single>, Boolean, Boolean, Nullable<Single>, List<Widget>, DragStartBehavior)

    Declaration
    public ListView(Key key = null, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController controller = null, bool? primary = default(bool? ), ScrollPhysics physics = null, bool shrinkWrap = false, EdgeInsets padding = null, float? itemExtent = default(float? ), bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, float? cacheExtent = default(float? ), List<Widget> children = null, DragStartBehavior dragStartBehavior = DragStartBehavior.start)
    Parameters
    Type Name Description
    Key key
    Axis scrollDirection
    Boolean reverse
    ScrollController controller
    Nullable<Boolean> primary
    ScrollPhysics physics
    Boolean shrinkWrap
    EdgeInsets padding
    Nullable<Single> itemExtent
    Boolean addAutomaticKeepAlives
    Boolean addRepaintBoundaries
    Nullable<Single> cacheExtent
    List<Widget> children
    DragStartBehavior dragStartBehavior

    Fields

    childrenDelegate

    Declaration
    public readonly SliverChildDelegate childrenDelegate
    Field Value
    Type Description
    SliverChildDelegate

    itemExtent

    Declaration
    public readonly float? itemExtent
    Field Value
    Type Description
    Nullable<Single>

    Methods

    buildChildLayout(BuildContext)

    Declaration
    protected override Widget buildChildLayout(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    BoxScrollView.buildChildLayout(BuildContext)

    builder(Key, Axis, Boolean, ScrollController, Nullable<Boolean>, ScrollPhysics, Boolean, EdgeInsets, Nullable<Single>, IndexedWidgetBuilder, Nullable<Int32>, Boolean, Boolean, Nullable<Single>, DragStartBehavior)

    Declaration
    public static ListView builder(Key key = null, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController controller = null, bool? primary = default(bool? ), ScrollPhysics physics = null, bool shrinkWrap = false, EdgeInsets padding = null, float? itemExtent = default(float? ), IndexedWidgetBuilder itemBuilder = null, int? itemCount = default(int? ), bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, float? cacheExtent = default(float? ), DragStartBehavior dragStartBehavior = DragStartBehavior.start)
    Parameters
    Type Name Description
    Key key
    Axis scrollDirection
    Boolean reverse
    ScrollController controller
    Nullable<Boolean> primary
    ScrollPhysics physics
    Boolean shrinkWrap
    EdgeInsets padding
    Nullable<Single> itemExtent
    IndexedWidgetBuilder itemBuilder
    Nullable<Int32> itemCount
    Boolean addAutomaticKeepAlives
    Boolean addRepaintBoundaries
    Nullable<Single> cacheExtent
    DragStartBehavior dragStartBehavior
    Returns
    Type Description
    ListView

    custom(Key, Axis, Boolean, ScrollController, Nullable<Boolean>, ScrollPhysics, Boolean, EdgeInsets, Nullable<Single>, SliverChildDelegate, Nullable<Single>)

    Declaration
    public static ListView custom(Key key = null, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController controller = null, bool? primary = default(bool? ), ScrollPhysics physics = null, bool shrinkWrap = false, EdgeInsets padding = null, float? itemExtent = default(float? ), SliverChildDelegate childrenDelegate = null, float? cacheExtent = default(float? ))
    Parameters
    Type Name Description
    Key key
    Axis scrollDirection
    Boolean reverse
    ScrollController controller
    Nullable<Boolean> primary
    ScrollPhysics physics
    Boolean shrinkWrap
    EdgeInsets padding
    Nullable<Single> itemExtent
    SliverChildDelegate childrenDelegate
    Nullable<Single> cacheExtent
    Returns
    Type Description
    ListView

    debugFillProperties(DiagnosticPropertiesBuilder)

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

    seperated(Key, Axis, Boolean, ScrollController, Nullable<Boolean>, ScrollPhysics, Boolean, EdgeInsets, IndexedWidgetBuilder, IndexedWidgetBuilder, Int32, Boolean, Boolean, Nullable<Single>)

    Declaration
    public static ListView seperated(Key key = null, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController controller = null, bool? primary = default(bool? ), ScrollPhysics physics = null, bool shrinkWrap = false, EdgeInsets padding = null, IndexedWidgetBuilder itemBuilder = null, IndexedWidgetBuilder separatorBuilder = null, int itemCount = 0, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, float? cacheExtent = default(float? ))
    Parameters
    Type Name Description
    Key key
    Axis scrollDirection
    Boolean reverse
    ScrollController controller
    Nullable<Boolean> primary
    ScrollPhysics physics
    Boolean shrinkWrap
    EdgeInsets padding
    IndexedWidgetBuilder itemBuilder
    IndexedWidgetBuilder separatorBuilder
    Int32 itemCount
    Boolean addAutomaticKeepAlives
    Boolean addRepaintBoundaries
    Nullable<Single> cacheExtent
    Returns
    Type Description
    ListView
    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