Creates a new ActionInterval, typically you will want to pass in a duration to specify how long time the action will take to complete.
ActionInterval([this._duration = 0.0, this.curve]);