rect property
Sets the provided rect
as the current of this AnimatedTransition.
Implementation
set rect(Rect rect) {
if (mounted && _rect != rect) {
setState(() {
_rect = rect;
_updated = true;
});
SchedulerBinding.instance.addPostFrameCallback((_) => _updated = false);
}
}