FRadioStyle class - forui.widgets.radio library (original) (raw)
Constructors
FRadioStyle.new({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
Methods
copyWith({Duration? animationDuration, Curve? curve, FTappableStyle? tappableStyle, FFocusedOutlineStyle? focusedOutlineStyle, 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
Returns a copy of this FRadioStyle with the given properties replaced.
inherited
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
A brief description of this object, usually just the runtimeType and thehashCode.
inherited
transform(T function(T))→ T
Available on T, provided by the FTransformables extension
Transform this T
using the given function
.