ActionInterval constructor

ActionInterval([double _duration = 0.0, Curve curve ])

Creates a new ActionInterval, typically you will want to pass in a duration to specify how long time the action will take to complete.

Implementation

ActionInterval([this._duration = 0.0, this.curve]);