EllipseScatterDelegate class

A ScatterDelegate that places children on an ellipse.

Inheritance

Constructors

EllipseScatterDelegate({required double a, required double b, double step = 0.01, double start = 0.0})
Creates a delegate where children of a RenderScatter are placed on an ellipse.

Properties

a double
Semi x-axis.
final
availableSize Size?
The available size to place children.
no setterinherited
b double
Semi y-axis.
final
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

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 ScatterDelegate 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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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