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(
    child: this,
    strength: strength,
    color: color,
  );
}