faderRight method

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

Make gradient fader from the right of the widget.

Implementation

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