FItemStyle class

A FItem's style.

Mixed-in types
Implementers
Available extensions

Constructors

FItemStyle.new({required FWidgetStateMap<Color?> backgroundColor, required FWidgetStateMap<BoxDecoration?> decoration, required FItemContentStyle contentStyle, required FRawItemContentStyle rawItemContentStyle, required FTappableStyle tappableStyle, required FFocusedOutlineStyle? focusedOutlineStyle, EdgeInsetsGeometry margin = const EdgeInsets.symmetric(vertical: 2, horizontal: 4)})
Creates a FItemStyle.
FItemStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
Creates a FTileGroupStyle that inherits from the given arguments.

Properties

backgroundColor FWidgetStateMap<Color?>
The item's background color.
final
contentStyle FItemContentStyle
The default item content's style.
final
decoration FWidgetStateMap<BoxDecoration?>
The item's decoration.
final
focusedOutlineStyle FFocusedOutlineStyle?
The focused outline style.
final
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsetsGeometry
The margin around the item, including the decoration.
final
rawItemContentStyle FRawItemContentStyle
THe default raw item content's style.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tappableStyle FTappableStyle
The tappable style.
final

Methods

call(Object? _) FItemStyle
Returns itself.
inherited
copyWith({FWidgetStateMap<Color?>? backgroundColor, EdgeInsetsGeometry? margin, FWidgetStateMap<BoxDecoration?>? decoration, FItemContentStyle contentStyle(FItemContentStyle)?, FRawItemContentStyle rawItemContentStyle(FRawItemContentStyle)?, FTappableStyle tappableStyle(FTappableStyle)?, FFocusedOutlineStyle? focusedOutlineStyle}) FItemStyle

Available on FItemStyle, provided by the $FItemStyleCopyWith extension

Returns a copy of this FItemStyle with the given properties replaced.
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

Operators

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