ListTileStyle class

The style to be applied to ListTile widget

Mixed in types
Annotations

Constructors

ListTileStyle({EdgeInsetsGeometry? margin, double? spacing, bool? spacingEnforced, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, bool? mainAxisExpanded, bool? childExpanded, TextTileAlign? textAlign, double? textSpacing, EdgeInsetsGeometry? textMargin})
Create a raw ListTileStyle
const
ListTileStyle.from(ListTileStyle? other)
Create a ListTileStyle from another style

Properties

childExpanded bool?
final
crossAxisAlignment CrossAxisAlignment?
final
hashCode int
The hash code for this object.
no setteroverride
mainAxisAlignment MainAxisAlignment?
final
mainAxisExpanded bool?
final
margin EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double?
final
spacingEnforced bool?
final
textAlign TextTileAlign?
final
textMargin EdgeInsetsGeometry?
final
textSpacing double?
final

Methods

copyWith({EdgeInsetsGeometry? margin, double? spacing, bool? spacingEnforced, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, bool? mainAxisExpanded, bool? childExpanded, TextTileAlign? textAlign, double? textSpacing, EdgeInsetsGeometry? textMargin}) ListTileStyle
Creates a copy of this ListTileStyle but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(ListTileStyle? other) ListTileStyle
Creates a copy of this ListTileStyle but with the given fields replaced with the new values.
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
toMap() Map<String, dynamic>
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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

Static Methods

lerp(ListTileStyle? a, ListTileStyle? b, double t) ListTileStyle?
Linearly interpolate between two ListTileStyle objects.

Constants

defaults → const ListTileStyle
An ListTileStyle with some reasonable default values.