SetValueTask constructor

SetValueTask(
  1. {@required double value,
  2. AnimationTaskCallback onStart,
  3. AnimationTaskCallback onComplete}
)

Implementation

SetValueTask({
  @required this.value,
  AnimationTaskCallback onStart,
  AnimationTaskCallback onComplete,
})  : assert(value != null, "Please provide a 'value'."),
      super(onStart: onStart, onComplete: onComplete);