UpdateFromFunc<Mob extends Mobject> constructor

UpdateFromFunc<Mob extends Mobject>({
  1. required Mob mobject,
  2. required Mob updateFunc(
    1. Mob
    ),
  3. double runTime = DEFAULT_ANIMATION_RUN_TIME,
  4. RateFunc rateFunc = smooth,
  5. double lagRatio = 0,
})

Implementation

UpdateFromFunc({
  required Mob mobject,
  required this.updateFunc,
  double runTime = DEFAULT_ANIMATION_RUN_TIME,
  RateFunc rateFunc = smooth,
  double lagRatio = 0,
}) : super(mobject, runTime: runTime, rateFunc: rateFunc, lagRatio: lagRatio);