hero method

Hero hero(
  1. Object tag, {
  2. CreateRectTween? createRectTween,
  3. HeroFlightShuttleBuilder? flightShuttleBuilder,
  4. HeroPlaceholderBuilder? placeholderBuilder,
  5. bool transitionOnUserGestures = false,
})

see Hero

Implementation

Hero hero(
  Object tag, {
  CreateRectTween? createRectTween,
  HeroFlightShuttleBuilder? flightShuttleBuilder,
  HeroPlaceholderBuilder? placeholderBuilder,
  bool transitionOnUserGestures = false,
}) =>
    Hero(
        tag: tag,
        createRectTween: createRectTween,
        flightShuttleBuilder: flightShuttleBuilder,
        placeholderBuilder: placeholderBuilder,
        transitionOnUserGestures: transitionOnUserGestures,
        child: this);