Minor change.

This commit is contained in:
stonegate 2020-08-19 18:26:48 +08:00
parent 5a533d951b
commit f68bf67191
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ class _ScrollPodcastsState extends State<ScrollPodcasts>
_getSlideTween(double value) => TweenSequence<double>([
TweenSequenceItem(
tween: Tween<double>(begin: 0.0, end: value), weight: 4 / 5),
TweenSequenceItem(tween: ConstantTween<double>(0.0), weight: 1 / 5)
TweenSequenceItem(
tween: Tween<double>(begin: -value, end: 0), weight: 1 / 5)
]);
@override