hero method

Widget hero(
  1. Object tag
)

Wraps this widget in a Hero.

Implementation

Widget hero(Object tag) => Hero(tag: tag, child: this);