feat: update to v5
This commit is contained in:
@@ -172,11 +172,14 @@ class _MyAppState extends State<MyApp>
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
],
|
||||
builder: (context, child) => StreamChatTheme(
|
||||
data: StreamChatThemeData(
|
||||
brightness: Theme.of(context).brightness,
|
||||
builder: (context, child) => StreamChatConfiguration(
|
||||
data: StreamChatConfigurationData(),
|
||||
child: StreamChatTheme(
|
||||
data: StreamChatThemeData(
|
||||
brightness: Theme.of(context).brightness,
|
||||
),
|
||||
child: child!,
|
||||
),
|
||||
child: child!,
|
||||
),
|
||||
onGenerateRoute: AppRoutes.generateRoute,
|
||||
onGenerateInitialRoutes: (initialRouteName) {
|
||||
|
||||
Reference in New Issue
Block a user