duration property Null safety

Duration duration

The duration of the animation.

Implementation

Duration get duration => _controller.duration!;
void duration=(Duration value)

Implementation

set duration(Duration value) {
  assert(value != null);
  if (value == _controller.duration) {
    return;
  }
  _controller.duration = value;
}