ShuttersCubeTransform class
- Inheritance
-
- Object
- PageTransform
- CubeTransform
- ShuttersCubeTransform
Constructors
Properties
- current ↔ int
-
getter/setter pair
- delay ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- modifier ↔ Modifier?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shutterSize ↔ int
-
getter/setter pair
Methods
-
horizontal(
double aniValue, int index, double page, Widget child) → Widget -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
int index, double page, double aniValue, Widget child) → Widget -
if (page == index) { /// 静止状态 } else if (page > index) { <---- n+1页面出来 (index = n ; aniValue 1-0) -----> n-1页面出来 (index = n-1 ; aniValue 0-1) } else { <---- n+1页面出来 (index = n+1 ; aniValue 0-1) -----> n-1页面出来 (index = n ; aniValue 1-0) }
inherited -
vertical(
double aniValue, int index, double page, Widget child) → Widget -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- mediaQuery ↔ MediaQueryData
-
getter/setter pair