File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class _ChatGroupedListWidgetState extends State<ChatGroupedListWidget>
121
121
122
122
bool get isEnableSwipeToSeeTime => widget.isEnableSwipeToSeeTime;
123
123
124
- double height = 0 ;
124
+ double chatTextFieldHeight = 0 ;
125
125
126
126
@override
127
127
void initState () {
@@ -140,7 +140,7 @@ class _ChatGroupedListWidgetState extends State<ChatGroupedListWidget>
140
140
WidgetsBinding .instance.addPostFrameCallback ((_) {
141
141
if (! mounted) return ;
142
142
setState (() {
143
- height =
143
+ chatTextFieldHeight =
144
144
provide? .chatTextFieldViewKey.currentContext? .size? .height ?? 10 ;
145
145
});
146
146
});
@@ -245,7 +245,9 @@ class _ChatGroupedListWidgetState extends State<ChatGroupedListWidget>
245
245
246
246
// Adds bottom space to the message list, ensuring it is displayed
247
247
// above the message text field.
248
- const SizedBox (height: 100 ),
248
+ SizedBox (
249
+ height: chatTextFieldHeight,
250
+ ),
249
251
],
250
252
),
251
253
);
You can’t perform that action at this time.
0 commit comments