animDuration method

VxAnimatedBox animDuration(
  1. Duration duration
)

Sets the duration property of the animated box.

Implementation

VxAnimatedBox animDuration(Duration duration) =>
    this..velocityDuration = duration;