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