Skip to content

Instantly share code, notes, and snippets.

@pinkeshdarji
Created May 24, 2021 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pinkeshdarji/409be64d639b417946e70ba2de1e4f8c to your computer and use it in GitHub Desktop.
Save pinkeshdarji/409be64d639b417946e70ba2de1e4f8c to your computer and use it in GitHub Desktop.
final theme =
ThemeData(primarySwatch: Colors.teal, brightness: Brightness.dark);
MaterialApp(
debugShowCheckedModeBanner: false,
theme: theme,
builder: (context, child) => StreamChat(
streamChatThemeData: StreamChatThemeData.fromTheme(theme),
client: client,
child: child,
),
home: HomeSmallScreen(),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment