@@ -69,7 +69,7 @@ class AppRouter extends _i18.RootStackRouter {
69
69
return _i18.MaterialPageX <dynamic >(
70
70
routeData: routeData, child: const _i3.RegisterScreen ());
71
71
},
72
- ChatRouterPageRoute .name: (routeData) {
72
+ ChatRouterPage .name: (routeData) {
73
73
return _i18.MaterialPageX <dynamic >(
74
74
routeData: routeData, child: const _i4.ChatRouterPage ());
75
75
},
@@ -177,23 +177,23 @@ class AppRouter extends _i18.RootStackRouter {
177
177
parent: HomeScreenRoute .name,
178
178
redirectTo: 'main' ,
179
179
fullMatch: true ),
180
- _i18.RouteConfig (ChatRouterPageRoute .name,
180
+ _i18.RouteConfig (ChatRouterPage .name,
181
181
path: 'chat' ,
182
182
parent: HomeScreenRoute .name,
183
183
children: [
184
184
_i18.RouteConfig ('#redirect' ,
185
185
path: '' ,
186
- parent: ChatRouterPageRoute .name,
186
+ parent: ChatRouterPage .name,
187
187
redirectTo: 'chats' ,
188
188
fullMatch: true ),
189
189
_i18.RouteConfig (ChatScreenRoute .name,
190
- path: 'onechat' , parent: ChatRouterPageRoute .name),
190
+ path: 'onechat' , parent: ChatRouterPage .name),
191
191
_i18.RouteConfig (DiscussionListScreenRoute .name,
192
192
path: 'chats' ,
193
- parent: ChatRouterPageRoute .name,
193
+ parent: ChatRouterPage .name,
194
194
guards: [chatGuard]),
195
195
_i18.RouteConfig (DocumentListScreenRoute .name,
196
- path: 'documents' , parent: ChatRouterPageRoute .name)
196
+ path: 'documents' , parent: ChatRouterPage .name)
197
197
]),
198
198
_i18.RouteConfig (MainRouterPage .name,
199
199
path: 'main' ,
@@ -276,12 +276,11 @@ class RegisterScreenRoute extends _i18.PageRouteInfo<void> {
276
276
277
277
/// generated route for
278
278
/// [_i4.ChatRouterPage]
279
- class ChatRouterPageRoute extends _i18.PageRouteInfo <void > {
280
- const ChatRouterPageRoute ({List <_i18.PageRouteInfo >? children})
281
- : super (ChatRouterPageRoute .name,
282
- path: 'chat' , initialChildren: children);
279
+ class ChatRouterPage extends _i18.PageRouteInfo <void > {
280
+ const ChatRouterPage ({List <_i18.PageRouteInfo >? children})
281
+ : super (ChatRouterPage .name, path: 'chat' , initialChildren: children);
283
282
284
- static const String name = 'ChatRouterPageRoute ' ;
283
+ static const String name = 'ChatRouterPage ' ;
285
284
}
286
285
287
286
/// generated route for
0 commit comments