FTileContentStyle class
A FTile content's style.
- Implemented types
- Mixed-in types
- Available extensions
Constructors
-
FTileContentStyle.new({required FWidgetStateMap<
IconThemeData> prefixIconStyle, required FWidgetStateMap<TextStyle> titleTextStyle, required FWidgetStateMap<TextStyle> subtitleTextStyle, required FWidgetStateMap<TextStyle> detailsTextStyle, required FWidgetStateMap<IconThemeData> suffixIconStyle, EdgeInsetsGeometry padding = const EdgeInsetsDirectional.fromSTEB(15, 13, 10, 13), double prefixIconSpacing = 10, double titleSpacing = 3, double middleSpacing = 4, double suffixIconSpacing = 5}) - Creates a FTileContentStyle.
- FTileContentStyle.inherit({required FColors colors, required FTypography typography})
- Creates a FTileContentStyle that inherits its properties.
Properties
-
detailsTextStyle
→ FWidgetStateMap<
TextStyle> -
The details text style.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- middleSpacing → double
-
The minimum horizontal spacing between the title, subtitle, combined, and the details. Defaults to 4.
final
- padding → EdgeInsetsGeometry
-
The content's padding. Defaults to
EdgeInsetsDirectional.only(15, 13, 10, 13)
.final - prefixIconSpacing → double
-
The horizontal spacing between the prefix icon and title and the subtitle. Defaults to 10.
final
-
prefixIconStyle
→ FWidgetStateMap<
IconThemeData> -
The prefix icon style.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subtitleTextStyle
→ FWidgetStateMap<
TextStyle> -
The subtitle's text style.
final
- suffixIconSpacing → double
-
The horizontal spacing between the details and suffix icon. Defaults to 10.
final
-
suffixIconStyle
→ FWidgetStateMap<
IconThemeData> -
The suffix icon style.
final
- titleSpacing → double
-
The vertical spacing between the title and the subtitle. Defaults to 4.
final
-
titleTextStyle
→ FWidgetStateMap<
TextStyle> -
The title's text style.
final
Methods
-
copyWith(
{EdgeInsetsGeometry? padding, FWidgetStateMap< IconThemeData> ? prefixIconStyle, double? prefixIconSpacing, FWidgetStateMap<TextStyle> ? titleTextStyle, double? titleSpacing, FWidgetStateMap<TextStyle> ? subtitleTextStyle, double? middleSpacing, FWidgetStateMap<TextStyle> ? detailsTextStyle, FWidgetStateMap<IconThemeData> ? suffixIconStyle, double? suffixIconSpacing}) → FTileContentStyle -
Returns a copy of this FTileContentStyle with the given properties replaced.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
transform(
T function(T)) → T -
Available on T, provided by the FTransformables extension
Transform thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited