Created
January 8, 2023 13:25
-
-
Save FlutterWiz/278435a4ff47bab501f636ebf97ecb02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MaterialApp.router( | |
debugShowCheckedModeBanner: false, | |
routerConfig: appRouter.router, | |
localizationsDelegates: const [...], | |
supportedLocales: const [...], | |
builder: (context, child) { | |
final client = getIt<StreamChatClient>(); | |
child = StreamChat( | |
client: client, | |
child: child, | |
); | |
child = botToastBuilder(context, child); | |
return child; | |
}, | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment