FRadioMotion class

The motion-related properties for a FRadio.

Mixed-in types
Available extensions

Constructors

FRadioMotion.new({Duration duration = const Duration(milliseconds: 100), Duration reverseDuration = const Duration(milliseconds: 100), Curve curve = Curves.easeOutCirc})
Creates a FRadioMotion.
const

Properties

curve Curve
The curve of the animation. Defaults to Curves.easeOutCirc.
final
duration Duration
The duration of the animation when selected. Defaults to 100ms.
final
hashCode int
The hash code for this object.
no setterinherited
reverseDuration Duration
The duration of the reverse animation when unselected. Defaults to 100ms.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Object? _) FRadioMotion
Returns itself.
inherited
copyWith({Duration? duration, Duration? reverseDuration, Curve? curve}) FRadioMotion

Available on FRadioMotion, provided by the $FRadioMotionTransformations extension

Returns a copy of this FRadioMotion with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(FRadioMotion other, double t) FRadioMotion

Available on FRadioMotion, provided by the $FRadioMotionTransformations extension

Linearly interpolate between this and another FRadioMotion using the given factor t.
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