TweenImageWidget constructor
TweenImageWidget(})
repeat's default value is true, if need manually control the animation, please pass in false
startsValue Is a starting state value, if want it to start from a few percent of the animation, please pass in this value
durationMilliseconds is how many milliseconds the animation to run, the default value is 3000 milliseconds
Implementation
TweenImageWidget(
this.entry, {
this.width,
this.height,
this.durationMilliseconds = 3000,
this.repeat = true,
this.startsValue,
key,
}) : assert(
(width == null || width > 0), "width is should be null or > 0.0"),
assert((height == null || height > 0),
"height is should be null or > 0.0"),
assert((startsValue == null || (startsValue >= 0 && startsValue <= 1)),
"startsValue is should be null or >= 0.0 && <= 1.0"),
super(key: key);