From d893ca0d62935d57fc64176aee08d423e73a5bcf Mon Sep 17 00:00:00 2001 From: Hariram4428 Date: Wed, 26 Mar 2025 18:10:48 +0530 Subject: [PATCH] FLUT-947336-[Others]: Updated breaking changes APIs in sample --- lib/main.dart | 10 +++++----- pubspec.yaml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index ea1b3c6..feaa680 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -85,13 +85,13 @@ class AssistViewSampleState extends State { }, ), placeholderBuilder: _buildPlaceholder, - requestBubbleSettings: const AssistBubbleSettings( - showUserName: true, + requestMessageSettings: const AssistMessageSettings( + showAuthorName: true, showTimestamp: true, - showUserAvatar: true, + showAuthorAvatar: true, ), - responseBubbleSettings: const AssistBubbleSettings( - showUserAvatar: true, + responseMessageSettings: const AssistMessageSettings( + showAuthorAvatar: true, ), ), ), diff --git a/pubspec.yaml b/pubspec.yaml index 124eb58..8a25db1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,7 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.8 - syncfusion_flutter_chat: ^28.1.35-beta + syncfusion_flutter_chat: ^29.1.33 dev_dependencies: flutter_test: