DiffTransitionBuilder typedef
DiffTransitionBuilder =
Widget Function(BuildContext context, Widget child, Animation<double> animation)
Builds the insert/remove look of an item.
animation runs from 0 (hidden) to 1 (fully shown) when an item is
inserted and from 1 back to 0 when it is removed, so one builder serves
both directions.
Implementation
typedef DiffTransitionBuilder = Widget Function(
BuildContext context,
Widget child,
Animation<double> animation,
);