FTileContentStyle class final
A FTile content's style.
- Mixed-in types
Constructors
- FTileContentStyle({required FTileContentStateStyle enabledStyle, required FTileContentStateStyle enabledHoveredStyle, required FTileContentStateStyle disabledStyle, EdgeInsets padding = const EdgeInsets.only(left: 15, top: 13, right: 10, bottom: 13), double prefixIconSpacing = 10, double titleSpacing = 3, double middleSpacing = 4, double suffixIconSpacing = 5})
- Creates a FTileContentStyle.
- FTileContentStyle.inherit({required FColorScheme colorScheme, required FTypography typography})
-
Creates a FTileContentStyle that inherits from the given
colorScheme
andtypography
.
Properties
- disabledStyle → FTileContentStateStyle
-
The content's disabled style.
final
- enabledHoveredStyle → FTileContentStateStyle
-
The content's enabled hovered style.
final
- enabledStyle → FTileContentStateStyle
-
The content's enabled style.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- middleSpacing → double
-
The minimum horizontal spacing between the title, subtitle, combined, and the details. Defaults to 4.
final
- padding → EdgeInsets
-
The content's padding. Defaults to
EdgeInsets.only(left: 15, top: 13, right: 10, bottom: 13)
.final - prefixIconSpacing → double
-
The horizontal spacing between the prefix icon and title and the subtitle. Defaults to 10.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffixIconSpacing → double
-
The horizontal spacing between the details and suffix icon. Defaults to 10.
final
- titleSpacing → double
-
The vertical spacing between the title and the subtitle. Defaults to 4.
final
Methods
-
copyWith(
{EdgeInsets? padding, double? prefixIconSpacing, double? titleSpacing, double? suffixIconSpacing, FTileContentStateStyle? enabledStyle, FTileContentStateStyle? enabledHoveredStyle, FTileContentStateStyle? disabledStyle}) → FTileContentStyle - Returns a copy of this FTileContentStyle 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