heroWrapper method
Implementation
heroWrapper(Widget image) {
if (heroTag == null) return image;
return Hero(tag: heroTag!, child: image);
}
heroWrapper(Widget image) {
if (heroTag == null) return image;
return Hero(tag: heroTag!, child: image);
}