WxTextTileThemeData class
Defines the visual properties of TextTile
.
Descendant widgets obtain the current WxTextTileThemeData object using
TextTileTheme.of(context)
. Instances of WxTextTileThemeData
can be customized with WxTextTileThemeData.copyWith or WxTextTileThemeData.merge.
- Inheritance
-
- Object
- ThemeExtension<
WxTextTileThemeData> - WxTextTileThemeData
- Mixed-in types
- Annotations
Constructors
- WxTextTileThemeData({required WxTextTileStyle style})
-
Creates a theme data that can be used for
TextTileTheme
.const - WxTextTileThemeData.fallback(BuildContext context)
-
A WxTextTileThemeData with default values.
factory
- WxTextTileThemeData.from([WxTextTileThemeData? other])
- Creates a WxTextTileThemeData from another one that probably null.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → WxTextTileStyle
-
The WxTextTileStyle to be applied to the
TextTile
widgetfinal - type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{WxTextTileStyle? style}) → WxTextTileThemeData -
Creates a copy of this WxTextTileThemeData 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< WxTextTileThemeData> ? other, double t) → WxTextTileThemeData -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
WxTextTileThemeData? other) → WxTextTileThemeData - Creates a copy of this WxTextTileThemeData 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 WxTextTileThemeData
- An WxTextTileThemeData with some reasonable default values.