Flutter PageView: its first child repeated per page.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
allowImplicitScrolling
→ const PropDef<
bool> -
animationCurve
→ const PropDef<
String> -
The curve of that animation, by
Curvesname. -
animationDuration
→ const PropDef<
int> - How long a change of the bound page index animates, in ms (0 jumps).
-
edgeFade
→ const PropDef<
double> - The pages fade out over this many pixels at the edge the next page shows at (with viewportFraction under 1), in place of a hard cut.
-
initialPage
→ const PropDef<
int> -
keepPage
→ const PropDef<
bool> -
padEnds
→ const PropDef<
bool> -
pageMotion
→ const PropDef<
Pose?> -
A 3D look for the pages as they scroll (coverflow, cube, carousel):
the motion a page has one page after the current one. The current page
is at rest, pages between are interpolated by their distance (clamped
to two pages) and pages before are mirrored (
translateX,shiftX,rotate,rotateYand the alignment's x change sign). A Pose: a transform with an opacity and a blur. Null: flat pages. -
pageMotionBefore
→ const PropDef<
Pose?> -
The motion a page has one page before the current one, when the two
sides differ (a book: the page leaving turns over about the spine,
{shiftX: 1, rotateY: -100, alignment: [-1, 0]}, while the next one lies still beneath it,pageMotion: {shiftX: -1}). Interpolated by distance like pageMotion and not mirrored. Null: pageMotion mirrored. -
pageSnapping
→ const PropDef<
bool> -
paintOrder
→ const PropDef<
PagePaintOrder> -
Which pages draw on top where they overlap:
forward(Flutter's order: later pages over earlier ones) orreverse(earlier pages on top, so a page turning away covers the one it reveals). Taps reach the page on top first. -
perspective
→ const PropDef<
double> -
A camera at the view's middle for its pages' turns in 3D (a
rotateXorrotateYin a page'smotion: a drum's rows, a cover flow's covers): how strongly depth is seen, as a motion'sperspective(1 moderate), said once for the view so every page is seen from one point. The pages' own motion then writesperspective=0. 0: none. - spec → const WidgetSpec
-
viewportFraction
→ const PropDef<
double>