faderFrom method

NyFader faderFrom(
  1. int strength, {
  2. Color color = Colors.black,
  3. List<AlignmentGeometry> alignment = const [Alignment.topCenter, Alignment.bottomCenter],
})

fader from bottom

Implementation

NyFader faderFrom(int strength,
    {Color color = Colors.black,
    List<AlignmentGeometry> alignment = const [
      Alignment.topCenter,
      Alignment.bottomCenter
    ]}) {
  return NyFader(
    strength: strength,
    color: color,
    alignment: alignment,
    child: this,
  );
}