Flutter Library for macOS WidgetKit and Widget Communication
import 'package:flutter_macos_widget/flutter_macos_widget.dart';
final widgetKit = FlutterMacosWidget("appGroup");
// use "UseDefaults" to communicate with Widget
widgetKit.set("key", "value")
widgetKit.get("key")
widgetKit.remove("key")
// force reload macOS widget
FlutterMacosWidget.reloadAllTimelines();
FlutterMacosWidget.reloadTimelines("ofKind");
let value = UserDefaults(suiteName: "appGroup")!.string(forKey: "key")