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
16 changes: 8 additions & 8 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ class _MyHomePageState extends State<MyHomePage> {
child: SfChat(
messages: _messages,
outgoingUser: 'Sam',
incomingBubbleSettings: ChatBubbleSettings(
contentBackgroundColor: Colors.grey.shade300,
incomingMessageSettings: ChatMessageSettings(
backgroundColor: Colors.grey.shade300,
widthFactor: 0.9,
contentShape: const RoundedRectangleBorder(
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(5),
topRight: Radius.circular(5),
Expand All @@ -115,13 +115,13 @@ class _MyHomePageState extends State<MyHomePage> {
fontSize: 10,
),
),
outgoingBubbleSettings: ChatBubbleSettings(
contentBackgroundColor: Theme.of(context).colorScheme.primary,
outgoingMessageSettings: ChatMessageSettings(
backgroundColor: Theme.of(context).colorScheme.primary,
widthFactor: 0.85,
showTimestamp: false,
showUserAvatar: false,
showUserName: false,
contentShape: const RoundedRectangleBorder(
showAuthorAvatar: false,
showAuthorName: false,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(5),
topRight: Radius.circular(5),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ environment:
dependencies:
flutter:
sdk: flutter
syncfusion_flutter_chat: ^27.1.48
syncfusion_flutter_chat: ^29.1.33


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