faderFrom method
NyFader
faderFrom(
- int strength, {
- Color color = Colors.black,
- 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,
);
}