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