rotateArrows color

This commit is contained in:
ryleedavis 2023-04-21 21:47:58 -06:00
parent e784722c8b
commit 992bf5de9b
2 changed files with 32 additions and 2 deletions

View file

@ -136,7 +136,22 @@ class _RestoringDialogState extends State<ClaimingPaynymDialog>
icon: RotateAnimation(
lottie: Lottie.asset(
Assets.lottie.arrowRotate,
// delegates: LottieDelegates(values: []),
delegates: LottieDelegates(
values: [
ValueDelegate.color(
const ["**"],
value: Theme.of(context)
.extension<StackColors>()!
.accentColorDark,
),
ValueDelegate.strokeColor(
const ["**"],
value: Theme.of(context)
.extension<StackColors>()!
.accentColorDark,
),
],
),
),
curve: Curves.easeInOutCubic,
controller: _rotateAnimationController,

View file

@ -93,7 +93,22 @@ class _RestoringDialogState extends State<BuildingTransactionDialog>
RotateAnimation(
lottie: Lottie.asset(
Assets.lottie.arrowRotate,
// delegates: LottieDelegates(values: []),
delegates: LottieDelegates(
values: [
ValueDelegate.color(
const ["**"],
value: Theme.of(context)
.extension<StackColors>()!
.accentColorDark,
),
ValueDelegate.strokeColor(
const ["**"],
value: Theme.of(context)
.extension<StackColors>()!
.accentColorDark,
),
],
),
),
curve: Curves.easeInOutCubic,
controller: _rotateAnimationController,