getValueGenerator abstract method

ValueGeneratorComponent getValueGenerator(
  1. Duration duration, {
  2. double begin = 0.0,
  3. double end = 1.0,
  4. Curve curve = Curves.decelerate,
  5. VoidCallback? onFinish,
  6. ValueChanged<double>? onChange,
})

Used to generate numbers to create your animations.

Implementation

ValueGeneratorComponent getValueGenerator(
  Duration duration, {
  double begin = 0.0,
  double end = 1.0,
  Curve curve = Curves.decelerate,
  VoidCallback? onFinish,
  ValueChanged<double>? onChange,
});