GradientImage constructor

const GradientImage({
  1. String? imagePath,
  2. double? width,
  3. double? height,
  4. List<Color> colors = const [],
  5. Widget? child,
  6. Key? key,
})

Implementation

const GradientImage(
    {this.imagePath,
    this.width,
    this.height,
    this.colors = const [],
    this.child,
    Key? key})
    : super(key: key);