faderTop method

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

Make gradient background for the widget.

Implementation

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