mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
Animate color of BrandLinearIndicator
This commit is contained in:
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 a new issue