GradientContainer constructor

const GradientContainer({
  1. Key? key,
  2. double? width,
  3. Color? color1,
  4. Color? color2,
  5. GradientContainersCallback? onTap,
  6. EdgeInsetsGeometry? padding,
  7. double? height,
  8. required Widget? child,
})

Implementation

const GradientContainer({
  Key? key,
  this.width,
  this.color1,
  this.color2,
  this.onTap,
  this.padding,
  this.height,
  required this.child,
}) : super(key: key);