buildCard method
Implementation
@override
Widget buildCard(BuildContext context, HeroAnimation heroInfo) {
if (heroInfo.animation == null) {
return _constrained(heroInfo);
} else {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
for (final w in children) w.animate(heroInfo),
],
);
}
}