FRadioStyle class

A FRadio's style.

Inheritance
Available extensions

Constructors

FRadioStyle({required FTappableStyle tappableStyle, required FFocusedOutlineStyle focusedOutlineStyle, required FWidgetStateMap<Color> borderColor, required FWidgetStateMap<Color> backgroundColor, required FWidgetStateMap<Color> indicatorColor, required FWidgetStateMap<TextStyle> labelTextStyle, required FWidgetStateMap<TextStyle> descriptionTextStyle, required TextStyle errorTextStyle, EdgeInsetsGeometry labelPadding = EdgeInsets.zero, EdgeInsetsGeometry descriptionPadding = EdgeInsets.zero, EdgeInsetsGeometry errorPadding = EdgeInsets.zero, EdgeInsetsGeometry childPadding = EdgeInsets.zero, Duration animationDuration = const Duration(milliseconds: 100), Curve curve = Curves.easeOutCirc})
Creates a FRadioStyle.
FRadioStyle.inherit({required FColors colors, required FStyle style})
Creates a FRadioStyle that inherits its properties.
factory

Properties

animationDuration Duration
The duration of the animation when the radio switches between selected and unselected. Defaults to 100ms.
final
backgroundColor FWidgetStateMap<Color>
The FRadio's background color.
final
borderColor FWidgetStateMap<Color>
The FRadio's border color.
final
childPadding EdgeInsetsGeometry
no setterinherited
curve Curve
The curve of the animation when the radio switches between selected and unselected.
final
descriptionPadding EdgeInsetsGeometry
no setterinherited
descriptionTextStyle FWidgetStateMap<TextStyle>
no setterinherited
errorPadding EdgeInsetsGeometry
no setterinherited
errorTextStyle TextStyle
no setterinherited
focusedOutlineStyle FFocusedOutlineStyle
The focused outline style.
final
hashCode int
The hash code for this object.
no setterinherited
indicatorColor FWidgetStateMap<Color>
The FRadio's indicator color.
final
labelPadding EdgeInsetsGeometry
no setterinherited
labelTextStyle FWidgetStateMap<TextStyle>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tappableStyle FTappableStyle
The tappable style.
final

Methods

call(Object? _) FRadioStyle
Returns itself.
inherited
copyWith({FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FFormFieldStyle

Available on FFormFieldStyle, provided by the $FFormFieldStyleCopyWith extension

Returns a copy of this FFormFieldStyle with the given properties replaced.
copyWith({EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FLabelStyle

Available on FLabelStyle, provided by the $FLabelStyleCopyWith extension

Returns a copy of this FLabelStyle with the given properties replaced.
copyWith({Duration? animationDuration, Curve? curve, FTappableStyle tappableStyle(FTappableStyle)?, FFocusedOutlineStyle focusedOutlineStyle(FFocusedOutlineStyle)?, FWidgetStateMap<Color>? borderColor, FWidgetStateMap<Color>? backgroundColor, FWidgetStateMap<Color>? indicatorColor, EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FRadioStyle

Available on FRadioStyle, provided by the $FRadioStyleCopyWith extension

Returns a copy of this FRadioStyle 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