LinearGradientContainer constructor
const
LinearGradientContainer({
- Key? key,
- Widget? child,
- BorderRadius? borderRadius,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- VoidCallback? onTap,
- BoxShape shape = BoxShape.rectangle,
- EdgeInsetsGeometry? margin,
- List<
Color> colors = const [Colors.blue, Colors.purple], - List<
double> ? stops, - AlignmentGeometry begin = Alignment.topLeft,
- AlignmentGeometry end = Alignment.bottomRight,
- Gradient? gradient,
Implementation
const LinearGradientContainer({
super.key,
super.child,
super.borderRadius,
super.width,
super.height,
super.padding,
super.onTap,
super.shape,
super.margin,
this.colors = const [Colors.blue, Colors.purple],
this.stops,
this.begin = Alignment.topLeft,
this.end = Alignment.bottomRight,
this.gradient,
});