FadeContainer constructor

const FadeContainer({
  1. Key? key,
  2. required Widget child,
  3. required Rect shaderRect(
    1. Rect
    ),
  4. Color? fadeColor,
  5. List<Color>? fadeColors,
  6. AlignmentGeometry begin = Alignment.topCenter,
  7. AlignmentGeometry end = Alignment.bottomCenter,
  8. List<double>? stops,
  9. BlendMode blendMode = BlendMode.srcATop,
})

Implementation

const FadeContainer({
  Key? key,
  required this.child,
  required this.shaderRect,
  this.fadeColor,
  this.fadeColors,
  this.begin = Alignment.topCenter,
  this.end = Alignment.bottomCenter,
  this.stops,
  this.blendMode = BlendMode.srcATop,
}) : super(key: key);