buildChanging method
- BuildContext context,
- Widget fromWidget,
- Widget toWidget,
- Animation<
double> animation
override
Wraps the old Widget fromWidget
and to new Widget toWidget
in an animated one for changing items.
Implementation
@override
Widget buildChanging(final BuildContext context, final Widget fromWidget,
final Widget toWidget, final Animation<double> animation) {
return MorphTransition(
fromChild: fromWidget, toChild: toWidget, animation: animation);
}