Pure-function interpolation helpers mapping vertical progress (0.0–1.0) to concrete visual property values.
All methods are static, side-effect free, and deterministic:
visualProperty = f(progress). No animation widgets involved.
Internally delegates to MorphEngine. The public API is preserved for backward compatibility.
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
Static Methods
-
adjacentCardOpacity(
) → double - Opacity for adjacent cards.
-
adjacentCardScale(
{double activeScale = 1.0}) → double - Scale factor for adjacent (non-active) cards in the carousel.
-
cardContentOpacity(
double progress) → double - Card-mode content opacity. Fades out as we approach fullscreen. Visible from progress 0.0 to ~0.6, then fades.
-
fullscreenContentOpacity(
double progress) → double - Fullscreen-mode content opacity. Fades in from ~0.5 to 1.0.
-
morphBackgroundBlur(
double progress, {double maxBlur = 8.0}) → double -
Background blur sigma.
At progress 0.0 → 0.0, at 1.0 →
maxBlur. -
morphBackgroundOpacity(
double progress, {double maxOpacity = 0.6}) → double -
Background barrier opacity (scrim darkening).
At progress 0.0 → 0.0, at 1.0 →
maxOpacity. -
morphBackgroundScale(
double progress, {double minScale = 0.92}) → double -
Background scale (slight zoom-out effect).
At progress 0.0 → 1.0, at 1.0 →
minScale. -
morphElevation(
double progress, {double maxElevation = 12.0}) → double -
Shadow elevation.
At progress 0.0 →
maxElevation, at 1.0 → 0.0. -
morphHeight(
double progress, {double cardHeightFraction = 0.75}) → double -
Card height as fraction of available height.
At progress 0.0 →
cardHeightFraction, at 1.0 → 1.0 (fullscreen). -
morphRadius(
double progress, {double maxRadius = 28.0}) → double -
Corner radius.
At progress 0.0 →
maxRadius, at 1.0 → 0.0. -
morphWidth(
double progress, {double cardWidthFraction = 0.85}) → double -
Card width as fraction of available width.
At progress 0.0 →
cardWidthFraction, at 1.0 → 1.0 (fullscreen). -
thumbnailOpacity(
double progress) → double -
Thumbnail selector bar opacity.
Visible at progress < 0.4, fades out linearly.
opacity = 1 - progress * 2(clamped to 0.0–1.0). -
thumbnailTranslateY(
double progress, {double maxShift = 60.0}) → double - Thumbnail bar vertical offset for slide-out effect. Moves downward as card expands.