Skip to content

Instantly share code, notes, and snippets.

@pinkeshdarji
Created May 24, 2021 13:46
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/38c064034aef1ca6843857f3c5341dcf to your computer and use it in GitHub Desktop.
Save pinkeshdarji/38c064034aef1ca6843857f3c5341dcf to your computer and use it in GitHub Desktop.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return StreamChat(
client: client,
child: MaterialApp(
...
home: ResponsiveWidget(
smallScreen: HomeSmallScreen(),
largeScreen: HomeLargeScreen(),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment