AtomicGradientContainer constructor

const AtomicGradientContainer({
  1. Key? key,
  2. required Widget child,
  3. Gradient? gradient,
  4. List<Color>? colors,
  5. AlignmentGeometry begin = Alignment.topLeft,
  6. AlignmentGeometry end = Alignment.bottomRight,
  7. List<double>? stops,
  8. TileMode tileMode = TileMode.clamp,
  9. EdgeInsets? padding,
  10. EdgeInsets? margin,
  11. double? width,
  12. double? height,
  13. BoxConstraints? constraints,
  14. BorderRadius? borderRadius,
  15. Border? border,
  16. AtomicGradientShadow shadow = AtomicGradientShadow.none,
  17. VoidCallback? onTap,
})

Implementation

const AtomicGradientContainer({
  super.key,
  required this.child,
  this.gradient,
  this.colors,
  this.begin = Alignment.topLeft,
  this.end = Alignment.bottomRight,
  this.stops,
  this.tileMode = TileMode.clamp,
  this.padding,
  this.margin,
  this.width,
  this.height,
  this.constraints,
  this.borderRadius,
  this.border,
  this.shadow = AtomicGradientShadow.none,
  this.onTap,
});