faderLeft method

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

Make gradient fader from the left of the widget.

Implementation

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