Skip to content

Commit

Permalink
Add Lottie for Coins and Golds
Browse files Browse the repository at this point in the history
  • Loading branch information
SepehrFakoori committed Jul 12, 2024
1 parent 2aab943 commit 34bde0b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,10 @@ class _GoldCardContainerState extends State<GoldCardContainer> {
width: 50,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(25),
color: Colors.red,
),
child: LottieBuilder.asset(
"assets/lottie/coin_animation.json",
frameRate: FrameRate.max,
),
),
const SizedBox(width: 10),
Expand Down Expand Up @@ -566,7 +569,10 @@ class _CoinCardContainerState extends State<CoinCardContainer> {
width: 50,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(25),
color: Colors.red,
),
child: LottieBuilder.asset(
"assets/lottie/coin_animation.json",
frameRate: FrameRate.max,
),
),
const SizedBox(width: 10),
Expand Down

0 comments on commit 34bde0b

Please sign in to comment.