AnimatedPositioned.fromRect constructor Null safety
Creates a widget that animates the rectangle it occupies implicitly.
Implementation
AnimatedPositioned.fromRect({
super.key,
required this.child,
required Rect rect,
super.curve,
required super.duration,
super.onEnd,
}) : left = rect.left,
top = rect.top,
width = rect.width,
height = rect.height,
right = null,
bottom = null;