Skip to content

Commit 8d8452b

Browse files
author
LavanyaA
authored
Merge pull request #2 from Hariram-SF4428/FLUT-947336-Update-Breaking-changes-API-in-chat
FLUT-947336 - [Others] Updated breaking changes APIs in code
2 parents 4243ae9 + d240f25 commit 8d8452b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/main.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class _ChatState extends State<Chat> {
101101
fontSize: 16.0,
102102
),
103103
// Incoming content and shape of header of message
104-
incomingBubbleContentBackgroundColor: const Color(0xffA1D6CB),
104+
incomingMessageBackgroundColor: const Color(0xffA1D6CB),
105105
incomingContentTextStyle: _buildTextStyle(_textTheme.bodyLarge!,
106106
color: Colors.black, fontSize: 13.0, fontWeight: FontWeight.w600),
107107
incomingPrimaryHeaderTextStyle: _buildTextStyle(
@@ -115,11 +115,11 @@ class _ChatState extends State<Chat> {
115115
color: Colors.blueGrey[900],
116116
fontSize: 11.0,
117117
),
118-
incomingBubbleContentShape: RoundedRectangleBorder(
118+
incomingMessageShape: RoundedRectangleBorder(
119119
borderRadius: BorderRadius.circular(20),
120120
),
121121
// Outgoing content and shape of header of message
122-
outgoingBubbleContentBackgroundColor:
122+
outgoingMessageBackgroundColor:
123123
const Color(0xffFF7F3E).withValues(alpha: 0.8),
124124
outgoingContentTextStyle: _buildTextStyle(
125125
_textTheme.bodyLarge!,
@@ -138,7 +138,7 @@ class _ChatState extends State<Chat> {
138138
color: Colors.black,
139139
fontSize: 11.0,
140140
),
141-
outgoingBubbleContentShape: RoundedRectangleBorder(
141+
outgoingMessageShape: RoundedRectangleBorder(
142142
borderRadius: BorderRadius.circular(40),
143143
),
144144
),

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ environment:
3030
dependencies:
3131
flutter:
3232
sdk: flutter
33-
syncfusion_flutter_chat: ^28.1.36+1-beta
34-
syncfusion_flutter_core: ^28.2.5
33+
syncfusion_flutter_chat: ^29.1.33
34+
syncfusion_flutter_core: ^29.1.33
3535

3636

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

0 commit comments

Comments
 (0)