KenburnsGenerator class

The random scale, translation, duration generator

Constructors

KenburnsGenerator()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

generateNextConfig({double width, double height, double maxScale, double lastScale, bool scaleDown, double minDurationMillis, double maxDurationMillis, Offset lastTranslation}) KenBurnsGeneratorConfig
generateNextDuration({double minDurationMillis, double maxDurationMillis}) Duration
generateNextScale({double lastScale, double maxScale, bool scaleDown}) double
generateNextTranslation({double width, double height, Size nextSize, double nextScale}) Offset
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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