VerticalGradientContainer constructor

const VerticalGradientContainer({
  1. Key? key,
  2. Widget? child,
  3. BorderRadius? borderRadius,
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. BoxShape shape = BoxShape.rectangle,
  9. VoidCallback? onTap,
  10. MouseCursor? mouseCursor,
  11. List<Color> colors = const [Colors.blue, Colors.purple],
  12. List<double>? stops,
  13. AlignmentGeometry begin = Alignment.topLeft,
  14. AlignmentGeometry end = Alignment.bottomRight,
  15. Gradient? gradient,
})

Implementation

const VerticalGradientContainer({
  super.key,
  super.child,
  super.borderRadius,
  super.width,
  super.height,
  super.padding,
  super.margin,
  super.shape,
  super.onTap,
  super.mouseCursor,
  this.colors = const [Colors.blue, Colors.purple],
  this.stops,
  this.begin = Alignment.topLeft,
  this.end = Alignment.bottomRight,
  this.gradient,
});