From 7120c9ec4e661110c5f8b32bbb2418900ff6fc42 Mon Sep 17 00:00:00 2001 From: ryleedavis Date: Thu, 6 Oct 2022 12:26:12 -0600 Subject: [PATCH] added required onSelectionChanged param --- lib/route_generator.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/route_generator.dart b/lib/route_generator.dart index 121aca797..acbf968af 100644 --- a/lib/route_generator.dart +++ b/lib/route_generator.dart @@ -944,7 +944,9 @@ class RouteGenerator { case SettingsMenu.routeName: return getRoute( shouldUseMaterialRoute: useMaterialPageRoute, - builder: (_) => const SettingsMenu(), + builder: (_) => SettingsMenu( + onSelectionChanged: (int) {}, + ), settings: RouteSettings(name: settings.name)); // == End of desktop specific routes =====================================