LinearShadedSteps constructor
const
LinearShadedSteps({
- ColorArithmetic shadeFunction = Shades.withWhite,
- num shadeFactor = -90,
- double distance = 0.6,
- double softness = 0.0,
- required List<
Color> colors, - List<
double> ? stops, - AlignmentGeometry begin = Alignment.centerLeft,
- AlignmentGeometry end = Alignment.centerRight,
- TileMode tileMode = TileMode.clamp,
- GradientTransform? transform,
Implementation
const LinearShadedSteps({
this.shadeFunction = Shades.withWhite,
this.shadeFactor = -90,
this.distance = 0.6,
double softness = 0.0,
required List<Color> colors,
List<double>? stops,
AlignmentGeometry begin = Alignment.centerLeft,
AlignmentGeometry end = Alignment.centerRight,
TileMode tileMode = TileMode.clamp,
GradientTransform? transform,
}) : super(
softness: softness,
colors: colors,
stops: stops,
begin: begin,
end: end,
tileMode: tileMode,
transform: transform,
);