WxListTileStyle class
The style to be applied to WxListTile widget
- Mixed-in types
- Annotations
Constructors
- WxListTileStyle({EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? spacing, bool? adaptiveSpacing, WxTileAlign? align, WxTileJustify? justify, bool? inline, bool? textWrap, TextAlign? textAlign, double? textSpacing, Color? textColor, TextOverflow? textOverflow, bool? textSoftWrap, TextWidthBasis? textWidthBasis, Color? iconColor, double? iconOpacity, double? iconSize, TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? secondaryStyle, double? titleSize, double? subtitleSize, Color? titleColor, Color? subtitleColor, int? titleMaxLines, int? subtitleMaxLines, FontWeight? titleWeight, FontWeight? subtitleWeight})
-
Create a raw WxListTileStyle
const
- WxListTileStyle.defaults()
-
Create a WxListTileStyle with some reasonable default values.
const
- WxListTileStyle.dense({EdgeInsetsGeometry? margin, bool? adaptiveSpacing, WxTileAlign? align, WxTileJustify? justify, bool? inline, bool? textWrap, TextAlign? textAlign, double? textSpacing, Color? textColor, TextOverflow? textOverflow, bool? textSoftWrap, TextWidthBasis? textWidthBasis, Color? iconColor, double? iconOpacity, double? iconSize, TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? secondaryStyle, Color? titleColor, Color? subtitleColor, int? titleMaxLines, int? subtitleMaxLines, FontWeight? titleWeight, FontWeight? subtitleWeight})
-
Create a WxListTileStyle with some reasonable default values.
const
- WxListTileStyle.from(WxListTileStyle? other)
- Create a WxListTileStyle from another style
Properties
- adaptiveSpacing → bool?
-
Determines if spacing should not be enforced
between the text and leading/trailing widgets,
even when leading/trailing widgets are absent.
final
- align → WxTileAlign?
-
How the children should be placed along the cross axis.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconColor → Color?
-
Defines the default color for icons.
final
- iconOpacity → double?
-
Defines the default opacity for icons.
final
- iconSize → double?
-
Defines the default size for icons.
final
- inline → bool?
-
Controls whether to minimize or maximize the amount of free space.
final
- justify → WxTileJustify?
-
How the children should be placed along the main axis.
final
- margin → EdgeInsetsGeometry?
-
Outer space around the widget.
final
- padding → EdgeInsetsGeometry?
-
The amount of space by which to inset the child.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryStyle → TextStyle?
-
The text style to be applied to leading and trailing.
final
- spacing → double?
-
The gap between the text and the
leading
/trailing
widgets.final - subtitleColor → Color?
-
The text color to be applied to subtitle.
final
- subtitleMaxLines → int?
-
The text max lines to be applied to subtitle.
final
- subtitleSize → double?
-
The font size to be applied to title.
final
- subtitleStyle → TextStyle?
-
The text style to be applied to subtitle.
final
- subtitleWeight → FontWeight?
-
The font weight to be applied to subtitle.
final
- textAlign → TextAlign?
-
How the title and subtitle should be placed along the cross axis.
final
- textColor → Color?
-
The text color to be applied to title and subtitle.
final
- textOverflow → TextOverflow?
-
The text overflow to be applied to title and subtitle.
final
- textSoftWrap → bool?
-
The text softWrap to be applied to title and subtitle.
final
- textSpacing → double?
-
The gap between the
title
and thesubtitle
widgets.final - textWidthBasis → TextWidthBasis?
-
The text width basis to be applied to title and subtitle.
final
- textWrap → bool?
-
Controls how the child widget (title and subtitle)
fills its available space (expand or wrap content).
final
- titleColor → Color?
-
The text color to be applied to title.
final
- titleMaxLines → int?
-
The text max lines to be applied to title.
final
- titleSize → double?
-
The font size to be applied to title.
final
- titleStyle → TextStyle?
-
The text style to be applied to title.
final
- titleWeight → FontWeight?
-
The font weight to be applied to title.
final
Methods
-
copyWith(
{EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? spacing, bool? adaptiveSpacing, WxTileAlign? align, WxTileJustify? justify, bool? inline, bool? textWrap, TextAlign? textAlign, double? textSpacing, Color? textColor, TextOverflow? textOverflow, bool? textSoftWrap, TextWidthBasis? textWidthBasis, Color? iconColor, double? iconOpacity, double? iconSize, TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? secondaryStyle, double? titleSize, double? subtitleSize, Color? titleColor, Color? subtitleColor, int? titleMaxLines, int? subtitleMaxLines, FontWeight? titleWeight, FontWeight? subtitleWeight}) → WxListTileStyle - Creates a copy of this WxListTileStyle but with the given fields replaced with the new values.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
WxListTileStyle? other) → WxListTileStyle - Creates a copy of this WxListTileStyle 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(
WxListTileStyle? a, WxListTileStyle? b, double t) → WxListTileStyle? - Linearly interpolate between two WxListTileStyle objects.