@@ -99,10 +99,10 @@ class _MyHomePageState extends State<MyHomePage> {
9999 child: SfChat (
100100 messages: _messages,
101101 outgoingUser: 'Sam' ,
102- incomingBubbleSettings : ChatBubbleSettings (
103- contentBackgroundColor : Colors .grey.shade300,
102+ incomingMessageSettings : ChatMessageSettings (
103+ backgroundColor : Colors .grey.shade300,
104104 widthFactor: 0.9 ,
105- contentShape : const RoundedRectangleBorder (
105+ shape : const RoundedRectangleBorder (
106106 borderRadius: BorderRadius .only (
107107 topLeft: Radius .circular (5 ),
108108 topRight: Radius .circular (5 ),
@@ -115,13 +115,13 @@ class _MyHomePageState extends State<MyHomePage> {
115115 fontSize: 10 ,
116116 ),
117117 ),
118- outgoingBubbleSettings : ChatBubbleSettings (
119- contentBackgroundColor : Theme .of (context).colorScheme.primary,
118+ outgoingMessageSettings : ChatMessageSettings (
119+ backgroundColor : Theme .of (context).colorScheme.primary,
120120 widthFactor: 0.85 ,
121121 showTimestamp: false ,
122- showUserAvatar : false ,
123- showUserName : false ,
124- contentShape : const RoundedRectangleBorder (
122+ showAuthorAvatar : false ,
123+ showAuthorName : false ,
124+ shape : const RoundedRectangleBorder (
125125 borderRadius: BorderRadius .only (
126126 topLeft: Radius .circular (5 ),
127127 topRight: Radius .circular (5 ),
0 commit comments