hero method

Widget hero(
  1. Object tag
)

Wraps widget with Hero animation

Implementation

Widget hero(Object tag) {
  return Hero(tag: tag, child: this);
}