fadeItem method
Widget
fadeItem(
- BuildContext context,
- dynamic data,
- int index,
- dynamic animation, {
- Widget? child,
Implementation
Widget fadeItem(BuildContext context, dynamic data, int index, animation, {Widget? child}) {
final widget = child ?? renderListItem(data, index, animation);
return FadeTransition(
opacity: animation,
child: widget
);
}