push feature stable
This commit is contained in:
@@ -63,6 +63,10 @@ part of 'routes.dart';
|
||||
name: 'ExperimentalSettingsRoute',
|
||||
path: 'experimental',
|
||||
),
|
||||
TypedGoRoute<WebPushSettingsRoute>(
|
||||
name: 'WebPushSettingsRoute',
|
||||
path: 'push',
|
||||
),
|
||||
TypedGoRoute<BangSettingsRoute>(name: 'BangSettingsRoute', path: 'bang'),
|
||||
TypedGoRoute<WebEngineHardeningRoute>(
|
||||
name: 'WebEngineHardeningRoute',
|
||||
@@ -232,6 +236,13 @@ class ExperimentalSettingsRoute extends GoRouteData
|
||||
}
|
||||
}
|
||||
|
||||
class WebPushSettingsRoute extends GoRouteData with $WebPushSettingsRoute {
|
||||
@override
|
||||
Widget build(BuildContext context, GoRouterState state) {
|
||||
return const WebPushSettingsScreen();
|
||||
}
|
||||
}
|
||||
|
||||
class BangSettingsRoute extends GoRouteData with $BangSettingsRoute {
|
||||
@override
|
||||
Widget build(BuildContext context, GoRouterState state) {
|
||||
|
||||
Reference in New Issue
Block a user