NyStateful extension
Methods
-
faderBottom(int strength, {Color color = Colors.black})
→ NyFader
-
Make gradient fader from the bottom of the widget.
-
faderFrom(int strength, {Color color = Colors.black, List<AlignmentGeometry> alignment = const [Alignment.topCenter, Alignment.bottomCenter]})
→ NyFader
-
fader from bottom
-
faderLeft(int strength, {Color color = Colors.black})
→ NyFader
-
Make gradient fader from the left of the widget.
-
faderRight(int strength, {Color color = Colors.black})
→ NyFader
-
Make gradient fader from the right of the widget.
-
faderTop(int strength, {Color color = Colors.black})
→ NyFader
-
Make gradient fader from the top of the widget.
-
flexible({Key? key, int flex = 1, FlexFit fit = FlexFit.loose})
→ Flexible
-
Make a StatefulWidget Flexible.
Example: