AnimatedOpacity

This widget motivated by AnimatedOpacity in Flutter.

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

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

Props

opacity

Value: number

child

Value: Widget | undefined

Examples

Basic