MorphController constructor

MorphController({
  1. required TickerProvider vsync,
  2. required MorphIconData icon,
})

Implementation

MorphController({required TickerProvider vsync, required MorphIconData icon})
  : _target = icon {
  _ticker = vsync.createTicker(_onTick);
  _path = buildCubicPath(_cubicsOf(icon));
}