FItemContentStyle class

An FItem content's style.

Implemented types
Mixed-in types
Implementers
Available extensions

Constructors

FItemContentStyle({required FVariants<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta> prefixIconStyle, required FVariants<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta> titleTextStyle, required FVariants<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta> subtitleTextStyle, required FVariants<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta> detailsTextStyle, required FVariants<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta> suffixIconStyle, EdgeInsetsGeometry padding = const .directional(start: 11, top: 7.5, bottom: 7.5, end: 6), double prefixIconSpacing = 10, double titleSpacing = 3, double middleSpacing = 4, double suffixIconSpacing = 5})
Creates a FItemContentStyle.
FItemContentStyle.inherit({required FColors colors, required FTypography typography, required Color prefix, required Color foreground, required Color mutedForeground})
Creates a FItemContentStyle that inherits its properties.
factory

Properties

detailsTextStyle FVariants<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>
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 const EdgeInsetsDirectional.only(start: 11, top: 7.5, bottom: 7.5, end: 6).
final
prefixIconSpacing double
The horizontal spacing between the prefix icon and title and the subtitle. Defaults to 10.
final
prefixIconStyle FVariants<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta>
The prefix icon style.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitleTextStyle FVariants<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>
The subtitle's text style.
final
suffixIconSpacing double
The horizontal spacing between the details and suffix icon. Defaults to 10.
final
suffixIconStyle FVariants<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta>
The suffix icon style.
final
titleSpacing double
The vertical spacing between the title and the subtitle. Defaults to 4.
final
titleTextStyle FVariants<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>
The title's text style.
final

Methods

call(covariant Object _) FItemContentStyle
Returns itself.
inherited
copyWith({EdgeInsetsGeometry? padding, FVariantsDelta<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta>? prefixIconStyle, double? prefixIconSpacing, FVariantsDelta<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>? titleTextStyle, double? titleSpacing, FVariantsDelta<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>? subtitleTextStyle, double? middleSpacing, FVariantsDelta<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>? detailsTextStyle, FVariantsDelta<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta>? suffixIconStyle, double? suffixIconSpacing}) FItemContentStyle

Available on FItemContentStyle, provided by the $FItemContentStyleTransformations extension

Returns a copy of this FItemContentStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(FItemContentStyle other, double t) FItemContentStyle

Available on FItemContentStyle, provided by the $FItemContentStyleTransformations extension

Linearly interpolate between this and another FItemContentStyle using the given factor t.
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.
inherited