KineticCarouselAnimator class

a spinner kind of animation that uses widgets as the spinning bits

also has a scale up animation that randomly chooses one of the widgets and scales it up

Inheritance
Available extensions

Constructors

KineticCarouselAnimator({Key? key, required Duration period, required List<Widget> children, required double radius, Duration? scaleUpAnimationDelay, double thetaModifier = 0, required bool allowScalingUpAnimation, Duration? scaleUpAnimationDuration, double? scaleUpFactor, Curve? scaleUpCurve, Duration? scaleUpPeriod})
constructs the animator widget. if you don't have values to use for any values with the 'scaleUp' prefix. you can check out the static constants in this class that are provided. such as kScaleUpFactor, kScaleUpAnimationDuration, and kScaleUpPeriod which matches to their respective values. kPeriod is also another one, but it doesnt have the scale up prefix
const

Properties

allowScalingUpAnimation bool
final
children List<Widget>
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
period Duration
final
radius double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleUpAnimationDelay Duration?
final
scaleUpAnimationDuration Duration?
final
scaleUpCurve Curve?
final
scaleUpFactor double?
final
scaleUpPeriod Duration?
final
thetaModifier double
final

Methods

animate({Key? key, List<Effect>? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) Animate

Available on Widget, provided by the AnimateWidgetExtensions extension

Wraps the target Widget in an Animate instance, and returns the instance for chaining calls. Ex. myWidget.animate() is equivalent to Animate(child: myWidget).
blurry({double? height, double? width, double blur = 5, double elevation = 0, EdgeInsets padding = const EdgeInsets.all(8), Color color = Colors.transparent, Color shadowColor = Colors.black26, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(20))}) Widget

Available on T, provided by the BlurryContainerExtension extension

Returns a BlurryContainer widget with the specified properties and the current widget as its child.
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<KineticCarouselAnimator>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

kPeriod → const Duration
kScaleUpAnimationDelay → const Duration
kScaleUpAnimationDuration → const Duration
kScaleUpFactor → const double
kScaleUpPeriod → const Duration