PhotoViewHeroAttributes constructor

const PhotoViewHeroAttributes(
  1. {@required Object tag,
  2. CreateRectTween createRectTween,
  3. HeroFlightShuttleBuilder flightShuttleBuilder,
  4. HeroPlaceholderBuilder placeholderBuilder,
  5. bool transitionOnUserGestures: false}
)

Implementation

const PhotoViewHeroAttributes({
  @required this.tag,
  this.createRectTween,
  this.flightShuttleBuilder,
  this.placeholderBuilder,
  this.transitionOnUserGestures = false,
}) : assert(tag != null);