Removed in:

#119187

AnimatedSize.vsync

Supported by Flutter Fix: yes

In v2.2, AnimatedSize.vsyc was deprecated. This property was no longer
necessary after AnimatedSize was converted to a StatefulWidget whose State
mixed in SingleTickerProviderStateMixin. The change was made to fix a memory
leak.

Uses of vsync should be removed, as AnimatedSize now handles this property.

Migration guide

Code before migration:

AnimatedSize

vsync:

this

// ...

);

Code after migration:

AnimatedSize

// ...

);

References

API documentation:

AnimatedSize

Deprecated in: