ColorAnimatingListView constructor
ColorAnimatingListView({})
Creates a ListView which changes background color based on the widget or widgets visible.
children.length should be equal to colors.length.
Implementation
ColorAnimatingListView({
required this.children,
required this.colors,
this.animationDuration = const Duration(seconds: 1),
});