CollapsingToolbarDecoration constructor
const
CollapsingToolbarDecoration({})
Create a default decoration.
child is your CollapsingToolbar. It draws some overlay ellipses with foregroundColor on a background with backgroundColor. animationValue is calculated by the scrolling offset, see also in CollapsingToolbar.
Implementation
const CollapsingToolbarDecoration({
Key? key,
required this.child,
required this.backgroundColor,
required this.foregroundColor,
required this.animationValue,
}) : super(key: key);