Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
import 'package:hotkey_manager/hotkey_manager.dart';
import 'package:universal_platform/universal_platform.dart';
import '../startup.dart';
class HotKeyTask extends LaunchTask {
const HotKeyTask();
@override
Future<void> initialize(LaunchContext context) async {
await super.initialize(context);
// the hotkey manager is not supported on mobile
if (UniversalPlatform.isMobile) {
return;
}
await hotKeyManager.unregisterAll();
}
}