move keyboard shortcuts into own file

This commit is contained in:
Christien Rioux 2025-03-23 10:41:19 -04:00
parent d6b1c20906
commit 6830b54ce8
4 changed files with 19 additions and 70 deletions

View file

@ -1,12 +1,14 @@
import 'package:flutter/widgets.dart';
import '../../keyboard_shortcuts.dart';
import '../../notifications/notifications.dart';
class RouterShell extends StatelessWidget {
const RouterShell({required Widget child, super.key}) : _child = child;
@override
Widget build(BuildContext context) => NotificationsWidget(child: _child);
Widget build(BuildContext context) =>
NotificationsWidget(child: KeyboardShortcuts(child: _child));
final Widget _child;
}