LinearShadedSteps constructor

const LinearShadedSteps({
  1. ColorArithmetic shadeFunction = Shades.withWhite,
  2. num shadeFactor = -90,
  3. double distance = 0.6,
  4. double softness = 0.0,
  5. required List<Color> colors,
  6. List<double>? stops,
  7. AlignmentGeometry begin = Alignment.centerLeft,
  8. AlignmentGeometry end = Alignment.centerRight,
  9. TileMode tileMode = TileMode.clamp,
  10. 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,
      );