FCardContentStyle class

FCard content's style.

Implemented types
Mixed-in types
Available extensions

Constructors

FCardContentStyle.new({required TextStyle titleTextStyle, required TextStyle subtitleTextStyle, double imageSpacing = 10, double subtitleSpacing = 8, EdgeInsetsGeometry padding = const EdgeInsets.all(16)})
Creates a FCardContentStyle.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
imageSpacing double
The spacing between the image and the title, subtitle, and child if any of them is provided. Defaults to 10.
final
padding EdgeInsetsGeometry
The padding. Defaults to EdgeInsets.all(16).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitleSpacing double
The spacing between the title/subtitle and the child if an image is provided. Defaults to 8.
final
subtitleTextStyle TextStyle
The subtitle's TextStyle.
final
titleTextStyle TextStyle
The title's TextStyle.
final

Methods

copyWith({double? imageSpacing, double? subtitleSpacing, TextStyle? titleTextStyle, TextStyle? subtitleTextStyle, EdgeInsetsGeometry? padding}) FCardContentStyle
Returns a copy of this FCardContentStyle 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 this T using the given function.

Operators

operator ==(Object other) bool
The equality operator.
inherited