diff --git a/packages/dart_client/example/lib/main.dart b/packages/dart_client/example/lib/main.dart index eb413af6..8f68c100 100644 --- a/packages/dart_client/example/lib/main.dart +++ b/packages/dart_client/example/lib/main.dart @@ -245,4 +245,4 @@ class _MessageViewState extends State { /// Helper extension for quickly retrieving the current user id from a [Client]. extension on Client { String get uid => state.user.id; -} \ No newline at end of file +} diff --git a/packages/flutter_widgets/example/lib/advanced_options_page.dart b/packages/flutter_widgets/example/lib/advanced_options_page.dart index 2da11406..023ce32c 100644 --- a/packages/flutter_widgets/example/lib/advanced_options_page.dart +++ b/packages/flutter_widgets/example/lib/advanced_options_page.dart @@ -222,8 +222,23 @@ class _AdvancedOptionsPageState extends State { ), Spacer(), RaisedButton( + color: Theme.of(context).brightness == Brightness.light + ? StreamChatTheme.of(context).colorTheme.accentBlue + : Colors.white, elevation: 0, - child: Text('Login', style: TextStyle(fontSize: 16)), + padding: const EdgeInsets.symmetric(vertical: 16), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(26), + ), + child: Text( + 'Login', + style: TextStyle( + fontSize: 16, + color: Theme.of(context).brightness != Brightness.light + ? StreamChatTheme.of(context).colorTheme.accentBlue + : Colors.white, + ), + ), onPressed: () async { if (loading) { return;