SpinnerSpec class

Resolved visual values for an eight-leaf RemixSpinner.

Implemented types
Annotations
  • @MixableSpec.new(target: RemixSpinner.new)

Constructors

SpinnerSpec({double? size, double? strokeWidth, Color? indicatorColor, Color? trackColor, double? trackStrokeWidth, Color? color, double? opacity, Radius? leafRadius, Duration? duration})
const

Properties

color → Color?
Explicit color override. When absent the spinner uses inherited color.
final
duration → Duration?
Duration of one complete leaf-fade cycle.
final
hashCode → int
The hash code for this object.
no setterinherited
indicatorColor → Color?
Established circular indicator color.
final
leafRadius → Radius?
Corner radius of each leaf.
final
opacity → double?
Opacity applied to the complete spinner before per-leaf fading.
final
props → List<Object?>
The properties based on which equality and hash code are computed.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double?
final
stringify → bool
Whether to use a detailed string representation of the object.
no setterinherited
strokeWidth → double?
Established circular indicator stroke width.
final
trackColor → Color?
Established optional circular track color.
final
trackStrokeWidth → double?
Established optional circular track stroke width.
final
type → Type
no setterinherited

Methods

copyWith({double? size, double? strokeWidth, Color? indicatorColor, Color? trackColor, double? trackStrokeWidth, Color? color, double? opacity, Radius? leafRadius, Duration? duration}) → SpinnerSpec
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
getDiff(Equatable other) → Map<String, String>
Returns a map of properties that differ between this object and another.
inherited
lerp(covariant SpinnerSpec? other, double t) → SpinnerSpec
Linearly interpolates with another Spec object.
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