CardTransform class

Constructors

CardTransform({double x = 0, double y = 0, double angle = 0, double scale = 1, double opacity = 1.0})
Used by Carousel to build cards on the correct position.

Properties

angle ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
opacity ↔ double
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale ↔ double
getter/setter pair
x ↔ double
getter/setter pair
y ↔ double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
transform(CardTransform other, double transitionPos) → CardTransform
transitionPos is a position value of a swipe for example. other is the position, scale, rotation which the current CardTransform need to be transformed to.

Operators

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