@@ -15,7 +15,7 @@ class VChatWidgetBuilder {
15
15
}
16
16
17
17
Color sendButtonColor (BuildContext context, bool isDark) {
18
- return Theme . of (context).primaryColor ;
18
+ return isDark ? Colors .red : Colors .blue ;
19
19
}
20
20
21
21
Widget senderTextMessageWidget (BuildContext context, String text) {
@@ -42,9 +42,9 @@ class VChatWidgetBuilder {
42
42
trimExpandedText: "show Less" ,
43
43
moreStyle: Theme .of (context)
44
44
.textTheme
45
- .bodyText2 !
46
- .copyWith (color : Colors .black, fontWeight: FontWeight .bold),
47
- style: Theme .of (context).textTheme.subtitle2 ,
45
+ .bodyText1 !
46
+ .copyWith (fontWeight: FontWeight .bold),
47
+ style: Theme .of (context).textTheme.bodyText1 ,
48
48
),
49
49
),
50
50
);
@@ -74,9 +74,9 @@ class VChatWidgetBuilder {
74
74
trimExpandedText: "show Less" ,
75
75
moreStyle: Theme .of (context)
76
76
.textTheme
77
- .bodyText2 !
78
- .copyWith (color : Colors .black, fontWeight: FontWeight .bold),
79
- style: Theme .of (context).textTheme.subtitle2 ,
77
+ .bodyText1 !
78
+ .copyWith (fontWeight: FontWeight .bold),
79
+ style: Theme .of (context).textTheme.bodyText1 ,
80
80
),
81
81
),
82
82
);
@@ -96,7 +96,7 @@ class VChatWidgetBuilder {
96
96
),
97
97
Icon (
98
98
Icons .play_circle,
99
- color: isDark ? Colors .white54 : Theme . of (context).primaryColor ,
99
+ color: isDark ? Colors .white54 : Colors .blue ,
100
100
size: 30 ,
101
101
),
102
102
const SizedBox (
@@ -109,7 +109,7 @@ class VChatWidgetBuilder {
109
109
AudioWave (
110
110
height: 32 ,
111
111
animation: false ,
112
- width: MediaQuery .of (context).size.width/ 2 ,
112
+ width: MediaQuery .of (context).size.width / 2 ,
113
113
spacing: 3 ,
114
114
bars: [
115
115
AudioWaveBar (height: 10 , color: Colors .lightBlueAccent),
@@ -144,7 +144,7 @@ class VChatWidgetBuilder {
144
144
return Container (
145
145
decoration: BoxDecoration (
146
146
borderRadius: BorderRadius .circular (20 ),
147
- color: isDark ? Colors .black26 : Colors .blueGrey[100 ],
147
+ color: isDark ? Colors .black26 : Colors .blueGrey[100 ],
148
148
),
149
149
height: 40 ,
150
150
child: Row (
@@ -154,7 +154,7 @@ class VChatWidgetBuilder {
154
154
),
155
155
Icon (
156
156
Icons .play_circle,
157
- color: Colors .red,
157
+ color: Colors .red,
158
158
size: 30 ,
159
159
),
160
160
const SizedBox (
@@ -167,7 +167,7 @@ class VChatWidgetBuilder {
167
167
AudioWave (
168
168
height: 32 ,
169
169
animation: false ,
170
- width: MediaQuery .of (context).size.width/ 2 ,
170
+ width: MediaQuery .of (context).size.width / 2 ,
171
171
spacing: 3 ,
172
172
bars: [
173
173
AudioWaveBar (height: 10 , color: Colors .lightBlueAccent),
@@ -212,7 +212,7 @@ class VChatWidgetBuilder {
212
212
Icon (
213
213
Icons .insert_drive_file_outlined,
214
214
size: 40 ,
215
- color: isDark ? Colors .white54 : Theme . of (context).primaryColor ,
215
+ color: isDark ? Colors .white54 : Colors .blue ,
216
216
),
217
217
const SizedBox (
218
218
width: 5 ,
@@ -234,14 +234,14 @@ class VChatWidgetBuilder {
234
234
final isDark = Theme .of (context).brightness == Brightness .dark;
235
235
return RoundedContainer (
236
236
height: 75 ,
237
- color: isDark ? Colors .black26 : Colors .blueGrey[100 ] ,
237
+ color: isDark ? Colors .black26 : Colors .blueGrey[100 ],
238
238
borderRadius: BorderRadius .circular (20 ),
239
239
child: Row (
240
240
children: [
241
241
const SizedBox (
242
242
width: 25 ,
243
243
),
244
- Icon (
244
+ Icon (
245
245
Icons .insert_drive_file_outlined,
246
246
size: 40 ,
247
247
color: isDark ? Colors .white54 : Colors .red,
@@ -253,7 +253,10 @@ class VChatWidgetBuilder {
253
253
child: Column (
254
254
mainAxisAlignment: MainAxisAlignment .center,
255
255
crossAxisAlignment: CrossAxisAlignment .start,
256
- children: [fileName.b2.size (13.4 ).maxLine (1 ).overflowEllipsis, fileSize.cap],
256
+ children: [
257
+ fileName.b2.size (13.4 ).maxLine (1 ).overflowEllipsis,
258
+ fileSize.cap
259
+ ],
257
260
),
258
261
)
259
262
],
0 commit comments