WxListTileThemeData class

Defines the visual properties of ListTile.

Descendant widgets obtain the current WxListTileThemeData object using ListTileTheme.of(context). Instances of WxListTileThemeData can be customized with WxListTileThemeData.copyWith or WxListTileThemeData.merge.

Inheritance
Mixed-in types
Annotations

Constructors

WxListTileThemeData({required WxListTileStyle style, WxListTileBuilder? wrapper})
Creates a theme data that can be used for ListTileTheme.
const
WxListTileThemeData.fallback(BuildContext context)
A WxListTileThemeData with default values.
factory
WxListTileThemeData.from([WxListTileThemeData? other])
Creates a WxListTileThemeData from another one that probably null.

Properties

effectiveWrapper WxListTileBuilder
Fallback to default builder if wrapper is null
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style WxListTileStyle
The WxListTileStyle to be applied to the ListTile widget
final
type Object
The extension's type.
no setterinherited
wrapper WxListTileBuilder?
Called to build wrapper widget of the list tile
final

Methods

copyWith({WxListTileStyle? style, WxListTileBuilder? wrapper}) WxListTileThemeData
Creates a copy of this WxListTileThemeData but with the given fields replaced with the new values.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(covariant ThemeExtension<WxListTileThemeData>? other, double t) WxListTileThemeData
Linearly interpolate with another ThemeExtension object.
override
merge(WxListTileThemeData? other) WxListTileThemeData
Creates a copy of this WxListTileThemeData 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

Constants

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