@@ -400,7 +400,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
400
400
? Container (
401
401
child: Transform .scale (
402
402
child: Image .asset (
403
- 'images /like.gif' ,
403
+ 'assets/img /like.gif' ,
404
404
width: 40.0 ,
405
405
height: 40.0 ,
406
406
),
@@ -418,7 +418,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
418
418
? Container (
419
419
child: Transform .scale (
420
420
child: Image .asset (
421
- 'images /love.gif' ,
421
+ 'assets/img /love.gif' ,
422
422
width: 40.0 ,
423
423
height: 40.0 ,
424
424
),
@@ -436,7 +436,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
436
436
? Container (
437
437
child: Transform .scale (
438
438
child: Image .asset (
439
- 'images /haha.gif' ,
439
+ 'assets/img /haha.gif' ,
440
440
width: 40.0 ,
441
441
height: 40.0 ,
442
442
),
@@ -454,7 +454,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
454
454
? Container (
455
455
child: Transform .scale (
456
456
child: Image .asset (
457
- 'images /wow.gif' ,
457
+ 'assets/img /wow.gif' ,
458
458
width: 40.0 ,
459
459
height: 40.0 ,
460
460
),
@@ -472,7 +472,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
472
472
? Container (
473
473
child: Transform .scale (
474
474
child: Image .asset (
475
- 'images /sad.gif' ,
475
+ 'assets/img /sad.gif' ,
476
476
width: 40.0 ,
477
477
height: 40.0 ,
478
478
),
@@ -490,7 +490,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
490
490
? Container (
491
491
child: Transform .scale (
492
492
child: Image .asset (
493
- 'images /angry.gif' ,
493
+ 'assets/img /angry.gif' ,
494
494
width: 40.0 ,
495
495
height: 40.0 ,
496
496
),
@@ -564,7 +564,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
564
564
)
565
565
: Container (),
566
566
Image .asset (
567
- 'images /like.gif' ,
567
+ 'assets/img /like.gif' ,
568
568
width: 40.0 ,
569
569
height: 40.0 ,
570
570
fit: BoxFit .contain,
@@ -602,7 +602,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
602
602
)
603
603
: Container (),
604
604
Image .asset (
605
- 'images /love.gif' ,
605
+ 'assets/img /love.gif' ,
606
606
width: 40.0 ,
607
607
height: 40.0 ,
608
608
fit: BoxFit .contain,
@@ -640,7 +640,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
640
640
)
641
641
: Container (),
642
642
Image .asset (
643
- 'images /haha.gif' ,
643
+ 'assets/img /haha.gif' ,
644
644
width: 40.0 ,
645
645
height: 40.0 ,
646
646
fit: BoxFit .contain,
@@ -678,7 +678,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
678
678
)
679
679
: Container (),
680
680
Image .asset (
681
- 'images /wow.gif' ,
681
+ 'assets/img /wow.gif' ,
682
682
width: 40.0 ,
683
683
height: 40.0 ,
684
684
fit: BoxFit .contain,
@@ -716,7 +716,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
716
716
)
717
717
: Container (),
718
718
Image .asset (
719
- 'images /sad.gif' ,
719
+ 'assets/img /sad.gif' ,
720
720
width: 40.0 ,
721
721
height: 40.0 ,
722
722
fit: BoxFit .contain,
@@ -754,7 +754,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
754
754
)
755
755
: Container (),
756
756
Image .asset (
757
- 'images /angry.gif' ,
757
+ 'assets/img /angry.gif' ,
758
758
width: 40.0 ,
759
759
height: 40.0 ,
760
760
fit: BoxFit .contain,
@@ -892,22 +892,22 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
892
892
} else if (! isDragging) {
893
893
switch (whichIconUserChoose) {
894
894
case 1 :
895
- return 'images /ic_like_fill.png' ;
895
+ return 'assets/img /ic_like_fill.png' ;
896
896
case 2 :
897
- return 'images /love2.png' ;
897
+ return 'assets/img /love2.png' ;
898
898
case 3 :
899
- return 'images /haha2.png' ;
899
+ return 'assets/img /haha2.png' ;
900
900
case 4 :
901
- return 'images /wow2.png' ;
901
+ return 'assets/img /wow2.png' ;
902
902
case 5 :
903
- return 'images /sad2.png' ;
903
+ return 'assets/img /sad2.png' ;
904
904
case 6 :
905
- return 'images /angry2.png' ;
905
+ return 'assets/img /angry2.png' ;
906
906
default :
907
- return 'images /ic_like.png' ;
907
+ return 'assets/img /ic_like.png' ;
908
908
}
909
909
} else {
910
- return 'images /ic_like.png' ;
910
+ return 'assets/img /ic_like.png' ;
911
911
}
912
912
}
913
913
@@ -1208,6 +1208,6 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
1208
1208
}
1209
1209
1210
1210
Future loadAsset (String nameSound) async {
1211
- return await rootBundle.load ('sounds/$nameSound ' );
1211
+ return await rootBundle.load ('assets/ sounds/$nameSound ' );
1212
1212
}
1213
1213
}
0 commit comments