DecoratedBoxTransition constructor
- Key? key,
- required Animation<
Decoration> decoration, - DecorationPosition position = DecorationPosition.background,
- required Widget child,
Creates an animated DecoratedBox whose Decoration animation updates the widget.
See also:
Implementation
const DecoratedBoxTransition({
super.key,
required this.decoration,
this.position = DecorationPosition.background,
required this.child,
}) : super(listenable: decoration);