MotionPlayer constructor

MotionPlayer(
  1. SceneMotion<SceneDefinition> motion, {
  2. required TickerProvider? vsync,
})

Plays a motion an app COMPILED — MotionPlayer(BannerIntro(scene), vsync: this), which is the whole of starting one.

Implementation

MotionPlayer(SceneMotion motion, {required TickerProvider? vsync})
  : this.bound(motion.playable, vsync: vsync);