MorphConfig class

============================================================================ MORPH SLOT - SHAPE/WIDGET MORPHING ANIMATIONS

Morph configuration for defining how widgets transition.

Constructors

MorphConfig({Duration duration = const Duration(milliseconds: 400), Curve curve = Curves.easeInOutCubic, bool morphSize = true, bool morphDecoration = true, bool clipDuringMorph = true, Alignment alignment = Alignment.center})
const

Properties

alignment Alignment
Alignment during morph
final
clipDuringMorph bool
Whether to use clipping during transition
final
curve Curve
Curve for the animation
final
duration Duration
Duration of the morph animation
final
hashCode int
The hash code for this object.
no setterinherited
morphDecoration bool
Whether to animate decoration (colors, borders, shadows)
final
morphSize bool
Whether to animate size changes
final
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

bouncy → const MorphConfig
Bouncy morph with overshoot
dramatic → const MorphConfig
Slow dramatic morph
quick → const MorphConfig
Quick morph (200ms)
smooth → const MorphConfig
Smooth morph (400ms)