Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class _ChatState extends State<Chat> {
fontSize: 16.0,
),
// Incoming content and shape of header of message
incomingBubbleContentBackgroundColor: const Color(0xffA1D6CB),
incomingMessageBackgroundColor: const Color(0xffA1D6CB),
incomingContentTextStyle: _buildTextStyle(_textTheme.bodyLarge!,
color: Colors.black, fontSize: 13.0, fontWeight: FontWeight.w600),
incomingPrimaryHeaderTextStyle: _buildTextStyle(
Expand All @@ -115,11 +115,11 @@ class _ChatState extends State<Chat> {
color: Colors.blueGrey[900],
fontSize: 11.0,
),
incomingBubbleContentShape: RoundedRectangleBorder(
incomingMessageShape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
),
// Outgoing content and shape of header of message
outgoingBubbleContentBackgroundColor:
outgoingMessageBackgroundColor:
const Color(0xffFF7F3E).withValues(alpha: 0.8),
outgoingContentTextStyle: _buildTextStyle(
_textTheme.bodyLarge!,
Expand All @@ -138,7 +138,7 @@ class _ChatState extends State<Chat> {
color: Colors.black,
fontSize: 11.0,
),
outgoingBubbleContentShape: RoundedRectangleBorder(
outgoingMessageShape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(40),
),
),
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ environment:
dependencies:
flutter:
sdk: flutter
syncfusion_flutter_chat: ^28.1.36+1-beta
syncfusion_flutter_core: ^28.2.5
syncfusion_flutter_chat: ^29.1.33
syncfusion_flutter_core: ^29.1.33


# The following adds the Cupertino Icons font to your application.
Expand Down