JidoujishoListTile class

Used for various dialogs, such as the dictionary, profiles and enhancements menus. Used for listing, selecting and reordering items.

Inheritance

Constructors

JidoujishoListTile({required String title, required String subtitle, required IconData icon, required bool selected, Color? foregroundColor, dynamic onTap()?, Widget? trailing, Key? key})
Initialise this widget.
const

Properties

foregroundColor Color?
The foreground color affecting the text and icon of this tile.
final
hashCode int
The hash code for this object.
read-onlyinherited
icon IconData
The icon to show as the leading content of this tile.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onTap → (dynamic Function()?)
The action to perform if this tile is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selected bool
Whether or not this title is currently selected.
final
subtitle String
The secondary text of this tile.
final
title String
The primary text of this tile.
final
trailing Widget?
Widget shown at the end of the tile. Shown only when selected.
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.
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