Skip to content

Instantly share code, notes, and snippets.

@pinkeshdarji
Created May 24, 2021 13:44
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/78479a144ddc7a58d91c7e5717919d32 to your computer and use it in GitHub Desktop.
Save pinkeshdarji/78479a144ddc7a58d91c7e5717919d32 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