FTileStyle class final

A FTile's style.

Mixed-in types

Constructors

FTileStyle({required Border border, required Border focusedBorder, required BorderRadius borderRadius, required Color enabledBackgroundColor, required Color enabledHoveredBackgroundColor, required Color disabledBackgroundColor, required FDividerStyle dividerStyle, required FDividerStyle focusedDividerStyle, required FTileContentStyle contentStyle, Duration touchHoverEnterDuration = Duration.zero, Duration touchHoverExitDuration = const Duration(milliseconds: 25)})
Creates a FTileStyle.
FTileStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
Creates a FTileStyle that inherits from the given colorScheme and typography.

Properties

border Border
The tile's border.
final
borderRadius BorderRadius
The tile's border radius.
final
contentStyle FTileContentStyle
The default tile content's style.
final
disabledBackgroundColor Color
The background color when the tile is disabled.
final
dividerStyle FDividerStyle
The divider's style.
final
enabledBackgroundColor Color
The background color when the tile is enabled.
final
enabledHoveredBackgroundColor Color
The background color when the tile is enabled and hovered.
final
focusedBorder Border
The tile's focused border.
final
focusedDividerStyle FDividerStyle
The focused divider's style.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
touchHoverEnterDuration Duration
The duration to wait before applying the hover effect after the user presses the tile. Defaults to 0 seconds.
final
touchHoverExitDuration Duration
The duration to wait before removing the hover effect after the user stops pressing the tile. Defaults to 25ms.
final

Methods

copyWith({Border? border, Border? focusedBorder, BorderRadius? borderRadius, Color? enabledBackgroundColor, Color? enabledHoveredBackgroundColor, Color? disabledBackgroundColor, Duration? touchHoverEnterDuration, Duration? touchHoverExitDuration, FDividerStyle? dividerStyle, FDividerStyle? focusedDividerStyle, FTileContentStyle? contentStyle}) FTileStyle
Returns a copy of this FTileStyle with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
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
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