FastListItemLayout class

Inheritance

Constructors

FastListItemLayout({Key? key, required String labelText, bool capitalizeLabelText = true, double minLeadingWidth = 16.0, bool isEnabled = true, bool isDense = true, Color? selectionLabelColor, String? descriptionText, EdgeInsets? contentPadding, Color? selectionColor, FastListItemDescriptor? descriptor, Widget? trailing, Widget? leading, VoidCallback? onTap})

Properties

capitalizeLabelText bool
Allow to convert the label to beginning of sentence case.
final
contentPadding EdgeInsets?
The padding for the input decoration's container.
final
descriptionText String?
Text that describes an item description.
final
descriptor FastListItemDescriptor?
Describes some additional visual aspects of an item.
final
hashCode int
The hash code for this object.
no setterinherited
isDense bool
Specifies whether an item will have the vertically dense layout.
final
isEnabled bool
Indicates whether an item is enabled in the user interface.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelText String
Text that describes an item label.
final
leading Widget?
A widget to display before an item label.
final
minLeadingWidth double
The minimum width for the leading widget.
final
onTap VoidCallback?
Called for each distinct tap.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionColor Color?
The color of the item when it is selected.
final
selectionLabelColor Color?
The color of the item label when it is selected.
final
trailing Widget?
A widget to display after an item label.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildItemDescription() Widget?
Builds the item description.
buildItemLabel() Widget
Builds the item label.
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