AnimatedPositionedModifier constructor
const
AnimatedPositionedModifier({})
Creates a widget that animates its position implicitly.
Only two out of the three horizontal values (left
, right
,
width
), and only two out of the three vertical values (top
,
bottom
, height
), can be set. In each case, at least one of
the three must be null.
The curve
and duration
arguments must not be null.
Implementation
const AnimatedPositionedModifier({
super.key,
super.modifierKey,
super.child,
super.curve,
required super.duration,
super.onEnd,
this.left,
this.top,
this.right,
this.bottom,
this.width,
this.height,
});