diff --git a/example/lib/group_info_screen.dart b/example/lib/group_info_screen.dart index 1cba6fa7..0aa0cfb0 100644 --- a/example/lib/group_info_screen.dart +++ b/example/lib/group_info_screen.dart @@ -93,7 +93,16 @@ class _GroupInfoScreenState extends State { stream: channel.channelStateStream, builder: (context, state) { if (!state.hasData) { - return CircularProgressIndicator(); + return Text( + 'Loading...', + style: TextStyle( + color: + StreamChatTheme.of(context).colorTheme.black, + fontSize: 16, + ), + maxLines: 1, + overflow: TextOverflow.ellipsis, + ); } return Text(