SpinnerSpec class final

Mixed-in types
Annotations
  • @MixableSpec.new()

Constructors

SpinnerSpec({double? size, double? strokeWidth, Color? color, Duration? duration, SpinnerTypeStyle? style, WidgetModifiersData? modifiers, AnimatedData? animated})
const

Properties

animated → AnimatedData?
finalinherited
color Color
Color of the spinner line
final
duration Duration
Duration of a full cycle of spin
final
hashCode int
The hash code for this object.
no setterinherited
isAnimated bool
no setterinherited
modifiers → WidgetModifiersData?
finalinherited
props List<Object?>
The list of properties that constitute the state of this SpinnerSpec.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
Size of the spinner
final
stringify bool
no setterinherited
strokeWidth double?
Width of the stroke of the line Needs to be a double between 0 and 1
final
style SpinnerTypeStyle
final
type Type
no setterinherited

Methods

call() Widget
copyWith({double? size, double? strokeWidth, Color? color, Duration? duration, SpinnerTypeStyle? style, WidgetModifiersData? modifiers, AnimatedData? animated}) SpinnerSpec
Creates a copy of this SpinnerSpec but with the given fields replaced with the new values.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
lerp(covariant SpinnerSpec? other, double t) SpinnerSpec
Linearly interpolates between this SpinnerSpec and another SpinnerSpec based on the given parameter t.
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

Constants

from → const SpinnerSpec Function(MixData mix)
of → const SpinnerSpec Function(BuildContext context)