faderRight method

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

Make gradient background for the widget.

Implementation

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