better curve animation for the PlayerBar
This commit is contained in:
parent
415325ac94
commit
f9389ef50d
|
|
@ -159,8 +159,10 @@ class FancyScaffoldState extends State<FancyScaffold>
|
||||||
left: 0,
|
left: 0,
|
||||||
key: const Key('player_bar'),
|
key: const Key('player_bar'),
|
||||||
child: FadeTransition(
|
child: FadeTransition(
|
||||||
opacity: Tween(begin: 1.0, end: 0.0)
|
opacity: Tween(begin: 1.0, end: 0.0).animate(
|
||||||
.animate(dragController),
|
CurvedAnimation(
|
||||||
|
parent: dragController,
|
||||||
|
curve: const Interval(0.0, 0.25))),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: widget.bottomPanelHeight,
|
height: widget.bottomPanelHeight,
|
||||||
child: widget.bottomPanel),
|
child: widget.bottomPanel),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue