AtomicGradientContainer constructor
const
AtomicGradientContainer({
- Key? key,
- required Widget child,
- Gradient? gradient,
- List<
Color> ? colors, - AlignmentGeometry begin = Alignment.topLeft,
- AlignmentGeometry end = Alignment.bottomRight,
- List<
double> ? stops, - TileMode tileMode = TileMode.clamp,
- EdgeInsets? padding,
- EdgeInsets? margin,
- double? width,
- double? height,
- BoxConstraints? constraints,
- BorderRadius? borderRadius,
- Border? border,
- AtomicGradientShadow shadow = AtomicGradientShadow.none,
- 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,
});