FRadioStyle class
A FRadio's style.
- Mixed-in types
- Implementers
Constructors
- FRadioStyle({required FLabelLayoutStyle labelLayoutStyle, required FRadioStateStyle enabledStyle, required FRadioStateStyle disabledStyle, required FRadioErrorStyle errorStyle, Duration animationDuration = const Duration(milliseconds: 100), Curve curve = Curves.easeOutCirc})
- Creates a FRadioStyle.
- FRadioStyle.inherit({required FColorScheme colorScheme, required FStyle style})
- Creates a FRadioStyle that inherits its properties from the given parameters.
Properties
- animationDuration → Duration
-
The duration of the animation when the radio's switches between selected and unselected. Defaults to 100ms.
final
- curve → Curve
-
The curve of the animation when the radio's switches between selected and unselected.
final
- disabledStyle → FRadioStateStyle
-
The FRadio's when the radio is disabled.
final
- enabledStyle → FRadioStateStyle
-
The FRadio's when the radio is enabled.
final
- errorStyle → FRadioErrorStyle
-
The FRadio's when the radio is in an error state.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- labelLayoutStyle → FLabelLayoutStyle
-
The FLabel's style.
final
- labelStyle → FLabelStyle
-
The FLabel's style.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Duration? animationDuration, Curve? curve, FLabelLayoutStyle? labelLayoutStyle, FRadioStateStyle? enabledStyle, FRadioStateStyle? disabledStyle, FRadioErrorStyle? errorStyle}) → FRadioStyle - Returns a copy of this FRadioStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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.
override