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

    Class ListTile

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    ListTile
    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.material
    Syntax
    public class ListTile : StatelessWidget

    Constructors

    ListTile(Key, Widget, Widget, Widget, Widget, Boolean, Nullable<Boolean>, EdgeInsets, Boolean, GestureTapCallback, GestureLongPressCallback, Boolean)

    Declaration
    public ListTile(Key key = null, Widget leading = null, Widget title = null, Widget subtitle = null, Widget trailing = null, bool isThreeLine = false, bool? dense = default(bool? ), EdgeInsets contentPadding = null, bool enabled = true, GestureTapCallback onTap = null, GestureLongPressCallback onLongPress = null, bool selected = false)
    Parameters
    Type Name Description
    Key key
    Widget leading
    Widget title
    Widget subtitle
    Widget trailing
    System.Boolean isThreeLine
    System.Nullable<System.Boolean> dense
    EdgeInsets contentPadding
    System.Boolean enabled
    GestureTapCallback onTap
    GestureLongPressCallback onLongPress
    System.Boolean selected

    Fields

    contentPadding

    Declaration
    public readonly EdgeInsets contentPadding
    Field Value
    Type Description
    EdgeInsets

    dense

    Declaration
    public readonly bool? dense
    Field Value
    Type Description
    System.Nullable<System.Boolean>

    enabled

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

    isThreeLine

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

    leading

    Declaration
    public readonly Widget leading
    Field Value
    Type Description
    Widget

    onLongPress

    Declaration
    public readonly GestureLongPressCallback onLongPress
    Field Value
    Type Description
    GestureLongPressCallback

    onTap

    Declaration
    public readonly GestureTapCallback onTap
    Field Value
    Type Description
    GestureTapCallback

    selected

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

    subtitle

    Declaration
    public readonly Widget subtitle
    Field Value
    Type Description
    Widget

    title

    Declaration
    public readonly Widget title
    Field Value
    Type Description
    Widget

    trailing

    Declaration
    public readonly Widget trailing
    Field Value
    Type Description
    Widget

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)

    divideTiles(BuildContext, IEnumerable<Widget>, Color)

    Declaration
    public static IEnumerable<Widget> divideTiles(BuildContext context = null, IEnumerable<Widget> tiles = null, Color color = null)
    Parameters
    Type Name Description
    BuildContext context
    System.Collections.Generic.IEnumerable<Widget> tiles
    Color color
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Widget>
    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