faderFrom method

NyFader faderFrom(
  1. int strength, {
  2. Color color = Colors.black,
  3. required List<AlignmentGeometry> alignment,
})

faderFrom

Implementation

NyFader faderFrom(int strength,
    {Color color = Colors.black,
    required List<AlignmentGeometry> alignment}) {
  return NyFader(
    strength: strength,
    color: color,
    alignment: alignment,
    child: this,
  );
}