feat: create app and api projects.

This commit is contained in:
2021-09-12 22:24:21 +08:00
commit 01327ddfe0
34 changed files with 1187 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import 'package:dde_gesture_manager/dde_gesture_manager.dart';
Future main() async {
final app = Application<DdeGestureManagerChannel>()
..options.configurationFilePath = "config.yaml"
..options.port = 8888;
await app.startOnCurrentIsolate();
print("Application started on port: ${app.options.port}.");
print("Click to open in browser: http://localhost:${app.options.port}");
print("Use Ctrl-C (SIGINT) to stop running the application.");
}