Wraps the widget in a Hero widget for animated transitions.
Widget hero({required String tag}) => Hero(tag: tag, child: this);