FRadioStyle class
A FRadio's style.
- Inheritance
-
- Object
- FFormFieldStyle
- FLabelStyle
- FRadioStyle
- Implemented types
- Available extensions
Constructors
-
FRadioStyle({required FTappableStyle tappableStyle, required FFocusedOutlineStyle focusedOutlineStyle, required FVariants<
FRadioVariantConstraint, FRadioVariant, Color, Delta> borderColor, required FVariants<FRadioVariantConstraint, FRadioVariant, Color, Delta> backgroundColor, required FVariants<FRadioVariantConstraint, FRadioVariant, Color, Delta> indicatorColor, required FVariants<FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> labelTextStyle, required FVariants<FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> descriptionTextStyle, required FVariants<FFormFieldErrorVariantConstraint, FFormFieldErrorVariant, TextStyle, TextStyleDelta> errorTextStyle, FRadioMotion motion = const FRadioMotion(), EdgeInsetsGeometry labelPadding = .zero, EdgeInsetsGeometry descriptionPadding = .zero, EdgeInsetsGeometry errorPadding = .zero, EdgeInsetsGeometry childPadding = .zero, FLabelMotion labelMotion = const FLabelMotion()}) -
Creates a FRadioStyle.
const
- FRadioStyle.inherit({required FColors colors, required FStyle style})
-
Creates a FRadioStyle that inherits its properties.
factory
Properties
-
backgroundColor
→ FVariants<
FRadioVariantConstraint, FRadioVariant, Color, Delta> -
The FRadio's background color.
final
-
borderColor
→ FVariants<
FRadioVariantConstraint, FRadioVariant, Color, Delta> -
The FRadio's border color.
final
- childPadding → EdgeInsetsGeometry
-
no setterinherited
- descriptionPadding → EdgeInsetsGeometry
-
no setterinherited
-
descriptionTextStyle
→ FVariants<
FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> -
no setterinherited
- errorPadding → EdgeInsetsGeometry
-
no setterinherited
-
errorTextStyle
→ FVariants<
FFormFieldErrorVariantConstraint, FFormFieldErrorVariant, TextStyle, TextStyleDelta> -
no setterinherited
- focusedOutlineStyle → FFocusedOutlineStyle
-
The focused outline style.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indicatorColor
→ FVariants<
FRadioVariantConstraint, FRadioVariant, Color, Delta> -
The FRadio's indicator color.
final
- labelMotion → FLabelMotion
-
no setterinherited
- labelPadding → EdgeInsetsGeometry
-
no setterinherited
-
labelTextStyle
→ FVariants<
FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> -
no setterinherited
- motion → FRadioMotion
-
The motion-related properties.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tappableStyle → FTappableStyle
-
The tappable style.
final
Methods
-
call(
covariant Object _) → FRadioStyle -
Returns itself.
inherited
-
copyWith(
{FVariantsDelta< FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> ? labelTextStyle, FVariantsDelta<FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> ? descriptionTextStyle, FVariantsDelta<FFormFieldErrorVariantConstraint, FFormFieldErrorVariant, TextStyle, TextStyleDelta> ? errorTextStyle}) → FFormFieldStyle -
Available on FFormFieldStyle, provided by the $FFormFieldStyleTransformations extension
Returns a copy of this FFormFieldStyle with the given properties replaced. -
copyWith(
{EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FLabelMotionDelta? labelMotion, FVariantsDelta< FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> ? labelTextStyle, FVariantsDelta<FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> ? descriptionTextStyle, FVariantsDelta<FFormFieldErrorVariantConstraint, FFormFieldErrorVariant, TextStyle, TextStyleDelta> ? errorTextStyle}) → FLabelStyle -
Available on FLabelStyle, provided by the $FLabelStyleTransformations extension
Returns a copy of this FLabelStyle with the given properties replaced. -
copyWith(
{FTappableStyleDelta? tappableStyle, FFocusedOutlineStyleDelta? focusedOutlineStyle, FVariantsValueDelta< FRadioVariantConstraint, FRadioVariant, Color, Delta> ? borderColor, FVariantsValueDelta<FRadioVariantConstraint, FRadioVariant, Color, Delta> ? backgroundColor, FVariantsValueDelta<FRadioVariantConstraint, FRadioVariant, Color, Delta> ? indicatorColor, FRadioMotionDelta? motion, EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FLabelMotionDelta? labelMotion, FVariantsDelta<FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> ? labelTextStyle, FVariantsDelta<FFormFieldVariantConstraint, FFormFieldVariant, TextStyle, TextStyleDelta> ? descriptionTextStyle, FVariantsDelta<FFormFieldErrorVariantConstraint, FFormFieldErrorVariant, TextStyle, TextStyleDelta> ? errorTextStyle}) → FRadioStyle -
Available on FRadioStyle, provided by the $FRadioStyleTransformations extension
Returns a copy of this FRadioStyle with the given properties replaced. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
FFormFieldStyle other, double t) → FFormFieldStyle -
Available on FFormFieldStyle, provided by the $FFormFieldStyleTransformations extension
Linearly interpolate between this and another FFormFieldStyle using the given factort. -
lerp(
FLabelStyle other, double t) → FLabelStyle -
Available on FLabelStyle, provided by the $FLabelStyleTransformations extension
Linearly interpolate between this and another FLabelStyle using the given factort. -
lerp(
FRadioStyle other, double t) → FRadioStyle -
Available on FRadioStyle, provided by the $FRadioStyleTransformations extension
Linearly interpolate between this and another FRadioStyle using the given factort. -
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