@@ -22,8 +22,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
22
22
icon: Padding (
23
23
padding: const EdgeInsets .all (8.0 ),
24
24
child: SizedBox (
25
- height: 35 ,
26
- width: 35 ,
25
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
26
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
27
27
child: SvgPicture .asset (
28
28
'assets/images/🦆 icon _like_.svg' ,
29
29
),
@@ -36,8 +36,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
36
36
icon: Padding (
37
37
padding: const EdgeInsets .all (8.0 ),
38
38
child: SizedBox (
39
- height: 35 ,
40
- width: 35 ,
39
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
40
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
41
41
child: SvgPicture .asset (
42
42
'assets/icons/angel.svg' ,
43
43
),
@@ -49,8 +49,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
49
49
icon: Padding (
50
50
padding: const EdgeInsets .all (8.0 ),
51
51
child: SizedBox (
52
- height: 35 ,
53
- width: 35 ,
52
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
53
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
54
54
child: SvgPicture .asset (
55
55
'assets/icons/happy.svg' ,
56
56
),
@@ -62,8 +62,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
62
62
icon: Padding (
63
63
padding: const EdgeInsets .all (8.0 ),
64
64
child: SizedBox (
65
- height: 35 ,
66
- width: 35 ,
65
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
66
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
67
67
child: SvgPicture .asset (
68
68
'assets/icons/laugh.svg' ,
69
69
),
@@ -75,8 +75,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
75
75
icon: Padding (
76
76
padding: const EdgeInsets .all (8.0 ),
77
77
child: SizedBox (
78
- height: 35 ,
79
- width: 35 ,
78
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
79
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
80
80
child: SvgPicture .asset (
81
81
'assets/icons/love.svg' ,
82
82
),
@@ -88,8 +88,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
88
88
icon: Padding (
89
89
padding: const EdgeInsets .all (8.0 ),
90
90
child: SizedBox (
91
- height: 35 ,
92
- width: 35 ,
91
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
92
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
93
93
child: SvgPicture .asset (
94
94
'assets/icons/tear.svg' ,
95
95
),
@@ -101,8 +101,8 @@ class _MultiReactionButtonState extends State<MultiReactButton> {
101
101
icon: Padding (
102
102
padding: const EdgeInsets .all (8.0 ),
103
103
child: SizedBox (
104
- height: 35 ,
105
- width: 35 ,
104
+ height: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
105
+ width: ( MediaQuery . sizeOf (context).width / 392 ) * 35 ,
106
106
child: SvgPicture .asset (
107
107
'assets/icons/angry.svg' ,
108
108
),
0 commit comments