TextDrawableListTile class

Inheritance

Constructors

TextDrawableListTile({Key? key, required String drawableText, required Widget title, Widget? subtitle, Widget? trailing, bool isThreeLine = false, bool? dense, EdgeInsetsGeometry? contentPadding, bool enabled = true, GestureTapCallback? onTap, GestureLongPressCallback? onLongPress, bool selected = false})
TextDrawableListTile wraps around the material ListTile and intercepts it's onLongPressed callback to provide give animations to the leading TextDrawable widget.
const

Properties

contentPadding EdgeInsetsGeometry?
The tile's internal padding.
final
dense bool?
Whether this list tile is part of a vertically dense list.
final
drawableText String
The string you wish to display in the leading TextDrawable. Only the first character is displayed.
final
enabled bool
Whether this list tile is interactive.
final
hashCode int
The hash code for this object.
no setterinherited
isThreeLine bool
Whether this list tile is intended to display three lines of text.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onLongPress GestureLongPressCallback?
Called when the user long-presses on this list tile.
final
onTap GestureTapCallback?
Called when the user taps this list tile.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
If this tile is also enabled then icons and text are rendered with the same color.
final
subtitle Widget?
Additional content displayed below the title.
final
title Widget
The primary content of the list tile.
final
trailing Widget?
A widget to display after the title.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _TextDrawableListTileState
Creates the mutable state for this widget at a given location in the tree.
override
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.
inherited
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