FanSliceDelegate class

FanSliceDelegate is used by Flow to determine FanSliceWidget

Inheritance

Constructors

FanSliceDelegate({required Animation<double> scaleAnimation, required Animation<double> rotationAnimation, required Animation<double> opacityAnimation, required Animation<double> distanceAnimation, required Animation<double> referenceAnimation, required double angle, required Offset center, required double radius})
Removed for now since it is not used for now Animation config, see FanAnimationConfig final FanAnimationConfig animationConfig; FanSliceDelegate is used by Flow to determine FanSliceWidget

Properties

angle double
angle with respect to 0 in polar coordinate
final
center Offset
center of wheel
final
distanceAnimation Animation<double>
distance animation from -TotalHeight/2 to innerRadius
final
hashCode int
The hash code for this object.
no setterinherited
opacityAnimation Animation<double>
opacity animation from 0 to 1
final
radius double
radius of the inner boundary
final
referenceAnimation Animation<double>
final
rotationAnimation Animation<double>
rotation animation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleAnimation Animation<double>
scale animation from 0 to 1
final

Methods

getConstraintsForChild(int i, BoxConstraints constraints) BoxConstraints
Override to control the layout constraints given to each child.
inherited
getSize(BoxConstraints constraints) Size
Override to control the size of the container for the children.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintChildren(FlowPaintingContext context) → void
paintChildren is responsible to draw the children elements
override
shouldRelayout(covariant FlowDelegate 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
shouldRepaint(covariant FanSliceDelegate oldDelegate) bool
Override this method to return true when the children need to be repainted. This should compare the fields of the current delegate and the given oldDelegate and return true if the fields are such that paintChildren would act differently.
override
toString() String
Override this method to include additional information in the debugging data printed by debugDumpRenderTree and friends.
inherited

Operators

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