Open Jonny1987 opened 2 days ago
This is caused by missing borderRadius
in the transparent borders in _getInputDecoration
in stream_message_input.dart
and I fixed temporarily by adding these borders with border radius in messageInputTheme
:
messageInputTheme: StreamChatThemeData().messageInputTheme.copyWith(
inputDecoration: InputDecoration(
fillColor: lightFillColor,
filled: true,
border: OutlineInputBorder(
borderRadius: StreamChatThemeData().messageInputTheme.borderRadius!,
borderSide: const BorderSide(
color: Colors.transparent,
),
),
focusedBorder: OutlineInputBorder(
borderRadius: StreamChatThemeData().messageInputTheme.borderRadius!,
borderSide: const BorderSide(
color: Colors.transparent,
),
),
enabledBorder: OutlineInputBorder(
borderRadius: StreamChatThemeData().messageInputTheme.borderRadius!,
borderSide: const BorderSide(
color: Colors.transparent,
),
),
errorBorder: OutlineInputBorder(
borderRadius: StreamChatThemeData().messageInputTheme.borderRadius!,
borderSide: const BorderSide(
color: Colors.transparent,
),
),
disabledBorder: OutlineInputBorder(
borderRadius: StreamChatThemeData().messageInputTheme.borderRadius!,
borderSide: const BorderSide(
color: Colors.transparent,
),
),
),
),
Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
Android
What version are you using?
8.2.0
What happened?
Adding a fill color to messageInputTheme causes the TextField in StreamMessageInput to have no border on the corners
Steps to reproduce
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
Flutter doctor output
Code of Conduct