SpiralScatterDelegate class abstract

A ScatterDelegate that places children in a spiral.

See:

Inheritance
Implementers

Constructors

SpiralScatterDelegate({double? ratio, double step = 0.01, double rotation = 0.0})
Create a spiral where for each increment the angle is increased by step * 2π radians and with the given rotation.

Properties

availableSize Size?
The available size to place children.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ratio double?
The ratio used to place the children.
finalinherited
ratioX double?
The ratio used for the x-axis points.
no setterinherited
ratioY double?
The ratio used for the y-axis points.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeRadius(double angle) double
All spirals are a function of the angle: r=f(θ).
getChildOffset(Offset position, ScatterContext context) Offset
Returns the child offset for the given position.
inherited
getChildOffsetForIteration(int iteration, ScatterContext context) Offset
Returns the child offset for the given iteration.
inherited
getPositionForIteration(int iteration, ScatterContext context) Offset
Returns an offset for the specified iteration.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRelayout(covariant SpiralScatterDelegate oldDelegate) bool
Override this method to return true when the children need to be laid out. This should compare the fields of the current delegate and the given oldDelegate and return true if the fields are such that the layout would be different.
override
toString() String
A string representation of this object.
inherited

Operators

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