FastListItemDescriptor class

Class that describes some visual aspects of an item.

Inheritance

Constructors

FastListItemDescriptor({bool isDense = true, Widget? trailing, Widget? leading, EdgeInsets? padding, Color? selectionLabelColor, Color? selectionColor})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isDense bool
Specifies whether an item will have the vertically dense layout.
final
leading Widget?
A widget to display before an item label.
final
padding EdgeInsets?
The padding of the item.
final
props List<Object?>
Returns a list of the object's properties, which is used to compare instances of the class for equality.
no setter
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 label text when the item is selected.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
trailing Widget?
A widget to display after an item label.
final

Methods

assignValue<T>(T? value, {T? defaultValue, bool loose = true}) → T?
inherited
clone() FastListItemDescriptor
Creates a new instance of FastListItemDescriptor that is a copy of the current instance.
override
copyWith({Widget? trailing, Widget? leading, bool? isDense, EdgeInsets? padding, Color? selectionLabelColor, Color? selectionColor}) FastListItemDescriptor
Creates a new instance of FastListItemDescriptor that is a copy of the current instance, but with some properties overridden.
override
copyWithDefaults() → TModel
inherited
merge(covariant FastListItemDescriptor model) FastListItemDescriptor
Creates a new instance of FastListItemDescriptor that is a combination of the current instance and another instance of FastListItemDescriptor.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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