The _______ widget is used to automatically animate the size of a widget when its parent's size changes.

  • AnimatedSize
  • AutoSize
  • SizeTransition
  • FlexSize
The AnimatedSize widget in Flutter is used to automatically animate the size of a widget when its parent's size changes. It adjusts the size of the child widget smoothly and gracefully in response to changes in constraints. This is useful for creating dynamic and visually appealing UIs that adapt to different screen sizes or layout changes. Hence, the correct option is AnimatedSize.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *