HeroAnimationScene constructor

const HeroAnimationScene({
  1. required Duration duration,
  2. required Widget child,
  3. Key? key,
  4. Curve curve = Curves.linear,
  5. CreateRectTween createRectTween = _defaultCreateTweenRect,
})

Implementation

const HeroAnimationScene({
  required this.duration,
  required this.child,
  Key? key,
  this.curve = Curves.linear,
  this.createRectTween = _defaultCreateTweenRect,
}) : super(key: key);