pageMotionBefore constant

PropDef<Motion?> const pageMotionBefore

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, originX: -1}, while the next one lies still beneath it, pageMotion: {shiftX: -1}). Interpolated by distance like pageMotion and not mirrored. Null: pageMotion mirrored.

Implementation

static const pageMotionBefore =
    PropDef<Motion?>('pageMotionBefore', ValueCodec(Motion.fromJson, _motionOut, motionType), null);