ConstantTween<T> constructor Null safety

ConstantTween<T>(
  1. T value
)

Create a tween whose begin and end values equal value.

Implementation

ConstantTween(T value) : super(begin: value, end: value);