faderTop method

NyFader faderTop(
  1. int strength, {
  2. Color color = Colors.black,
})

Make gradient fader from the top of the widget.

Implementation

NyFader faderTop(int strength, {Color color = Colors.black}) {
  return NyFader.top(
    child: this,
    strength: strength,
    color: color,
  );
}