buildRemoving method
- BuildContext context,
- Widget widget,
- Animation<
double> animation
override
Wraps the widget
in an animated widget for removing items.
Implementation
@override
Widget buildRemoving(final BuildContext context, final Widget widget,
final Animation<double> animation) {
return FadeTransition(
child: widget, opacity: Tween(begin: 1.0, end: 0.0).animate(animation));
}