PhloxAnimationsBuilder class

Inheritance

Constructors

PhloxAnimationsBuilder({Key? key, required Duration duration, required PhloxAnimationsWidgetBuilder? builder, PhloxAnimationsController? controller, Duration? reverseDuration, Duration? wait, double? fromX, bool? loop, bool? auto, double? fromY, double? toX, double? fromRadius, double? toRadius, Color? fromColor, Curve? radiusCurve, Color? toColor, double? toY, double? fromOpacity, double? toOpacity, double? fromScale, double? toScale, double? fromDegrees, double? toDegrees, Offset? rotateOffset, Curve? moveXCurve, Curve? moveYCurve, Curve? scaleCurve, Curve? opacityCurve, Curve? rotateCurve, Curve? colorChangeCurve, _PhloxAnimationsProgress? progress})
constructor --
const
PhloxAnimationsBuilder.move({Key? key, required Duration duration, required PhloxAnimationsWidgetBuilder? builder, PhloxAnimationsController? controller, Duration? reverseDuration, Duration? wait, required double? fromX, bool? loop, bool? auto, required double? fromY, required double? toX, double? fromRadius, double? toRadius, Color? fromColor, Curve? radiusCurve, Color? toColor, required double? toY, double? fromOpacity, double? toOpacity, double? fromScale, double? toScale, double? fromDegrees, double? toDegrees, Offset? rotateOffset, Curve? moveXCurve, Curve? moveYCurve, Curve? scaleCurve, Curve? opacityCurve, Curve? rotateCurve, Curve? colorChangeCurve, _PhloxAnimationsProgress? progress})
constructor -- PhloxAnimationsBuilder.move
const
PhloxAnimationsBuilder.opacity({Key? key, required Duration duration, required PhloxAnimationsWidgetBuilder? builder, PhloxAnimationsController? controller, Duration? reverseDuration, Duration? wait, double? fromX, bool? loop, bool? auto, double? fromY, double? toX, double? fromRadius, double? toRadius, Color? fromColor, Curve? radiusCurve, Color? toColor, double? toY, required double? fromOpacity, required double? toOpacity, double? fromScale, double? toScale, double? fromDegrees, double? toDegrees, Offset? rotateOffset, Curve? moveXCurve, Curve? moveYCurve, Curve? scaleCurve, Curve? opacityCurve, Curve? rotateCurve, Curve? colorChangeCurve, _PhloxAnimationsProgress? progress})
constructor -- PhloxAnimationsBuilder.opacity
const
PhloxAnimationsBuilder.rotate({Key? key, required Duration duration, required PhloxAnimationsWidgetBuilder? builder, PhloxAnimationsController? controller, Duration? reverseDuration, Duration? wait, double? fromX, bool? loop, bool? auto, double? fromY, double? toX, double? fromRadius, double? toRadius, Color? fromColor, Curve? radiusCurve, Color? toColor, double? toY, double? fromOpacity, double? toOpacity, double? fromScale, double? toScale, required double? fromDegrees, required double? toDegrees, Offset? rotateOffset, Curve? moveXCurve, Curve? moveYCurve, Curve? scaleCurve, Curve? opacityCurve, Curve? rotateCurve, Curve? colorChangeCurve, _PhloxAnimationsProgress? progress})
constructor --
const

Properties

auto bool?
final
builder PhloxAnimationsWidgetBuilder?
final
colorChangeCurve Curve?
final
controller PhloxAnimationsController?
final
duration Duration
final
fromColor Color?
final
fromDegrees double?
final
fromOpacity double?
final
fromRadius double?
final
fromScale double?
final
fromX double?
final
fromY double?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loop bool?
duration is time from start to end of animation wait is time to delay start animation builder is required and you can add your widget into child and your child animate fromOpacitys value from 0 to 1 and change widget alpha(Opacity) toOpacitys value from 0 to 1 and change widget alpha(Opacity) fromX for move widget from x fromY for move widget from y toX for move widget to x toY for move widget to Y fromScale for scale widget from widgets current scale toScale for scale widget from widgets current scale fromDegrees for rotate widget from widgets current angle toDegrees for rotate widget to widgets current angle progress is listener progress animation fromColor for start animation with selection color toColor for end animation with selection color fromRadius for rounded radios toRadius for rounded radios moveXCurve, moveYCurve, scaleCurve, opacityCurve, rotateCurve, colorChangeCurve, radiusCurve animations curve
final
moveXCurve Curve?
final
moveYCurve Curve?
final
opacityCurve Curve?
final
progress → _PhloxAnimationsProgress?
final
radiusCurve Curve?
final
reverseDuration Duration?
final
rotateCurve Curve?
final
rotateOffset Offset?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleCurve Curve?
final
toColor Color?
final
toDegrees double?
final
toOpacity double?
final
toRadius double?
final
toScale double?
final
toX double?
final
toY double?
final
wait Duration?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<PhloxAnimationsBuilder>
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}) 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