Tween<T extends Object?> constructor

Tween<T extends Object?>({
  1. T? begin,
  2. T? end,
})

Creates a tween.

The begin and end properties must be non-null before the tween is first used, but the arguments can be null if the values are going to be filled in later.

Implementation

Tween({
  this.begin,
  this.end,
});