DecoratedBackground constructor

const DecoratedBackground({
  1. required String imagePath,
  2. required List<Color> colors,
  3. double? opacity,
  4. Key? key,
})

Implementation

const DecoratedBackground({
  required this.imagePath,
  required this.colors,
  this.opacity,
  Key? key,
}) : super(key: key);