TransformInfo class

Constructors

TransformInfo({int? index, double? position, double? width, double? height, int? activeIndex, int? fromIndex, bool? forward, bool? done, double? viewportFraction, Axis? scrollDirection})

Properties

activeIndex int?
The activeIndex of the PageView
final
done bool?
User drag is done.
final
forward bool?
Next index is greater than this index
final
fromIndex int?
The activeIndex of the PageView, from user start to swipe It will change when user end drag
final
hashCode int
The hash code for this object.
no setterinherited
height double?
The height of the TransformerPageView
final
index int?
The index of the widget pass to PageTransformer.transform
final
position double?
The position of the widget pass to PageTransformer.transform A position describes how visible the widget is. The widget in the center of the screen' which is full visible, position is 0.0. The widge in the left ,may be hidden, of the screen's position is less than 0.0, -1.0 when out of the screen. The widge in the right ,may be hidden, of the screen's position is greater than 0.0, 1.0 when out of the screen
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis?
Copy from TransformerPageView.scrollDirection
final
viewportFraction double?
Same as TransformerPageView.viewportFraction
final
width double?
The width of the TransformerPageView
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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