FadeContainer constructor

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

Implementation

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