forked from SelfPrivacy/selfprivacy.org.app
Animate color of BrandLinearIndicator
parent
34d635c2c5
commit
1817031be8
|
@ -32,7 +32,9 @@ class BrandLinearIndicator extends StatelessWidget {
|
|||
-(1 - value),
|
||||
0,
|
||||
),
|
||||
child: Container(
|
||||
child: AnimatedContainer(
|
||||
duration: const Duration(milliseconds: 400),
|
||||
curve: Curves.easeInOut,
|
||||
width: constraints.maxWidth,
|
||||
decoration: BoxDecoration(
|
||||
color: color,
|
||||
|
|
Loading…
Reference in New Issue