AnimatedScale

This widget motivated by AnimatedScale in Flutter.

Animated version of Transform.scale which automatically transitions the child’s scale over a given duration whenever the given scale changes.

See: https://api.flutter.dev/flutter/widgets/AnimatedScale-class.html

Props

scale

Value: number

duration

Value: number

curve

Value: Curve(default Curves.linear)

child

Value: Widget | undefined

Examples

Basic