FSelectItemStyle class
A FSelectItem's style.
- Mixed-in types
- Available extensions
Constructors
-
FSelectItemStyle.new({required FWidgetStateMap<
BoxDecoration?> decoration, required FWidgetStateMap<IconThemeData> prefixIconStyle, required FWidgetStateMap<TextStyle> titleTextStyle, required FWidgetStateMap<TextStyle> subtitleTextStyle, required FWidgetStateMap<IconThemeData> suffixIconStyle, required FTappableStyle tappableStyle, EdgeInsetsGeometry margin = const EdgeInsets.symmetric(horizontal: 4, vertical: 2), EdgeInsetsGeometry padding = const EdgeInsetsDirectional.only(start: 11, top: 7.5, bottom: 7.5, end: 6), double prefixIconSpacing = 10, double titleSpacing = 4}) - Creates a FSelectItemStyle.
- FSelectItemStyle.inherit({required FColors colors, required FStyle style, required FTypography typography})
- Creates a FSelectItemStyle that inherits its properties.
Properties
-
decoration
→ FWidgetStateMap<
BoxDecoration?> -
The decoration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsetsGeometry
-
The margin around the image. Defaults to
EdgeInsets.symmetric(horizontal: 4, vertical: 2)
.final - padding → EdgeInsetsGeometry
-
The padding around the item. Defaults to
EdgeInsetsDirectional.only(start: 15, top: 7.5, bottom: 7.5, end: 10)
.final - prefixIconSpacing → double
-
final
-
prefixIconStyle
→ FWidgetStateMap<
IconThemeData> -
The icon style for an item's prefix.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subtitleTextStyle
→ FWidgetStateMap<
TextStyle> -
The default text style for the subtitle.
final
-
suffixIconStyle
→ FWidgetStateMap<
IconThemeData> -
The icon style for an item's suffix.
final
- tappableStyle → FTappableStyle
-
The tappable style for the item.
final
- titleSpacing → double
-
The vertical spacing between the title and the subtitle. Defaults to 4.
final
-
titleTextStyle
→ FWidgetStateMap<
TextStyle> -
The default text style for the title.
final
Methods
-
call(
Object? _) → FSelectItemStyle -
Returns itself.
inherited
-
copyWith(
{EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, FWidgetStateMap< BoxDecoration?> ? decoration, FWidgetStateMap<IconThemeData> ? prefixIconStyle, double? prefixIconSpacing, FWidgetStateMap<TextStyle> ? titleTextStyle, double? titleSpacing, FWidgetStateMap<TextStyle> ? subtitleTextStyle, FWidgetStateMap<IconThemeData> ? suffixIconStyle, FTappableStyle tappableStyle(FTappableStyle)?}) → FSelectItemStyle -
Available on FSelectItemStyle, provided by the $FSelectItemStyleCopyWith extension
Returns a copy of this FSelectItemStyle 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