TweenList<T extends dynamic> constructor
TweenList<T extends dynamic> (
- List<
TweenPercentage< valuesT> >
constructor, expects a list of TweenPercentage.
Implementation
TweenList(List<TweenPercentage<T>> values) {
_values = values;
_values.sort((a, b) => a.percent.compareTo(b.percent));
}