- makes it work with dart >=2.0.0 <3.0.0
- compatible with Dart 2.0/strong mode
Tween.targetValues
,Tween.targetRelative
andTween.addWayoint
no longer acceptsnum
, onlyList<num>
- constants are no longer SCREAMING_CAPS but lowerCamelCase
TweenEquation
(e.g.Bounce.IN
,Sine.OUT
, etc.) values have been renamed fromIN
,OUT
,INOUT
toeaseIn
,easeOut
,easeInOut
respectively
- Fixed issue #12 typo in tween.containsTarget which would make it missfunction
- Timeline.createSequence() and Timeline.createParallel() are now replaced for factory named constructors:
- new Timeline.sequence()
- new Timeline.parallel()
- Tween.to, Tween.from, Tween.set, Tween.call and Tween.mark are now replaced for factory named constructors:
- new Tween.to()
- new Tweee.from()
- new Tween.set()
- new Tween.call()
- new Tween.mark()
- TweenAccesor and Tweenable interfaces have both changed, now they both receive the tween as a paremeter in their getValues() and setValues() methods.
- BaseTween.normalTime added, provides the normalized elapsed time of the tween ( 0 <= normalTime <= 1)
- Fixed a bug where creating a new Tween from within a callback would break the TweenManager
- Methods setCallback, setCallbackTriggers and setUserData replaced by their respective setters
- repeatYoyo() will be deprecated in next version, instead, repeat() now takes a bool argument saying wether it is a yoyo repetition or not.
- Removed generic argument from BaseTween class
Bugs Fixed:
- Changed Timeline to not 'snap' when using a repeat yoyo on it. issue #7
- added Changelog
- changed CallbackHandler to TweenCallbackHandler
- Twee.setCallBack() now receives a TweenCallbackHandler(function) instead of a TweenCallback instance
- added tweenable interface
- added crude test suit
- loosened dart sdk dependency
- first publish, contains all features of the original java version