restore thread example
This commit is contained in:
@@ -19,15 +19,9 @@ class MyApp extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final theme = ThemeData(
|
|
||||||
primarySwatch: Colors.orange,
|
|
||||||
);
|
|
||||||
|
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
theme: theme,
|
|
||||||
home: Container(
|
home: Container(
|
||||||
child: StreamChat(
|
child: StreamChat(
|
||||||
streamChatThemeData: StreamChatThemeData.fromTheme(theme),
|
|
||||||
client: client,
|
client: client,
|
||||||
child: ChannelListPage(),
|
child: ChannelListPage(),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user