WxListTile class

Inheritance

Constructors

WxListTile({Key? key, required Widget title, Widget? subtitle, Widget? leading, Widget? trailing, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? spacing, bool? adaptiveSpacing, WxTileAlign? align, WxTileJustify? justify, bool? inline, bool? textWrap, TextAlign? textAlign, double? textSpacing, Color? textColor, TextOverflow? textOverflow, bool? textSoftWrap, TextWidthBasis? textWidthBasis, Color? iconColor, double? iconOpacity, double? iconSize, double? titleSize, double? subtitleSize, Color? titleColor, Color? subtitleColor, int? titleMaxLines, int? subtitleMaxLines, FontWeight? titleWeight, FontWeight? subtitleWeight, TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? secondaryStyle, WxListTileStyle? style, GestureTapCallback? onTap})
Create a list item tile
const

Properties

adaptiveSpacing bool?
final
align WxTileAlign?
How the children should be placed along the cross axis.
final
effectiveStyle WxListTileStyle
Merge style with shortcut props
no setter
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
Defines the default color for icons.
final
iconOpacity double?
Defines the default opacity for icons.
final
iconSize double?
Defines the default size for icons.
final
inline bool?
Controls whether to minimize or maximize the amount of free space.
final
justify WxTileJustify?
How the children should be placed along the main axis.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
A widget to display before the title and subtitle.
final
margin EdgeInsetsGeometry?
Outer space around the widget.
final
onTap GestureTapCallback?
Called when the user taps this list tile.
final
padding EdgeInsetsGeometry?
The amount of space by which to inset the child.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryStyle TextStyle?
The text style to be applied to leading and trailing.
final
spacing double?
The gap between the text and the leading/trailing widgets.
final
style WxListTileStyle?
The style to be applied
final
subtitle Widget?
Additional content displayed below the title.
final
subtitleColor Color?
The text color to be applied to subtitle.
final
subtitleMaxLines int?
The text max lines to be applied to subtitle.
final
subtitleSize double?
The font size to be applied to title.
final
subtitleStyle TextStyle?
The text style to be applied to subtitle.
final
subtitleWeight FontWeight?
The font weight to be applied to subtitle.
final
textAlign TextAlign?
How the title and subtitle should be placed along the cross axis.
final
textColor Color?
The text color to be applied to title and subtitle.
final
textOverflow TextOverflow?
The text overflow to be applied to title and subtitle.
final
textSoftWrap bool?
The text softWrap to be applied to title and subtitle.
final
textSpacing double?
The gap between the title and the subtitle widgets.
final
textWidthBasis TextWidthBasis?
The text width basis to be applied to title and subtitle.
final
textWrap bool?
Controls how the child widget (title and subtitle) fills its available space (expand or wrap content).
final
title Widget
The primary content
final
titleColor Color?
The text color to be applied to title.
final
titleMaxLines int?
The text max lines to be applied to title.
final
titleSize double?
The font size to be applied to title.
final
titleStyle TextStyle?
The text style to be applied to title.
final
titleWeight FontWeight?
The font weight to be applied to title.
final
trailing Widget?
A widget to display after the title and subtitle.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited