ColorfulBackground constructor

const ColorfulBackground({
  1. Key? key,
  2. required Duration duration,
  3. required List<Color> backgroundColors,
  4. Widget? child,
  5. List<Widget> decoratorsList = const [SizedBox()],
  6. Alignment begin = Alignment.topLeft,
  7. Alignment end = Alignment.bottomRight,
  8. double height = double.infinity,
  9. double width = double.infinity,
})

Implementation

const ColorfulBackground({
  Key? key,
  required this.duration,
  required this.backgroundColors,
  this.child,
  this.decoratorsList = const [SizedBox()],
  this.begin = Alignment.topLeft,
  this.end = Alignment.bottomRight,
  this.height = double.infinity,
  this.width = double.infinity,
}) : super(key: key);