FadeScroll constructor

const FadeScroll({
  1. Key? key,
  2. required double startOffset,
  3. required double endOffset,
  4. required Widget child,
  5. required ScrollController controller,
  6. required List<Color> gradient,
  7. double startCrossOffset = 0,
  8. double endCrossOffset = 0,
})

Implementation

const FadeScroll({
  Key? key,
  required this.startOffset,
  required this.endOffset,
  required this.child,
  required this.controller,
  required this.gradient,
  this.startCrossOffset = 0,
  this.endCrossOffset = 0,
}) : super(key: key);