Inheritance
System.Object
ListTile
public class ListTile : StatelessWidget
Constructors
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
Fields
contentPadding
Declaration
public readonly EdgeInsets contentPadding
Field Value
Declaration
public readonly bool? dense
Field Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public readonly bool enabled
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool isThreeLine
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly Widget leading
Field Value
Declaration
public readonly GestureLongPressCallback onLongPress
Field Value
Declaration
public readonly GestureTapCallback onTap
Field Value
Declaration
public readonly bool selected
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly Widget subtitle
Field Value
Declaration
public readonly Widget title
Field Value
Declaration
public readonly Widget trailing
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides
divideTiles(BuildContext, IEnumerable<Widget>, Color)
Declaration
public static IEnumerable<Widget> divideTiles(BuildContext context = null, IEnumerable<Widget> tiles = null, Color color = null)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Widget> |
|