This repository has been archived on 2025-06-08. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
rustdesk/flutter/lib/web/plugin/handlers.dart
fufesou 9558974080
Refact. Build flutter web (#7472)
* Refact. Build flutter web

Signed-off-by: fufesou <[email protected]>

* Refact. Flutter web, wrap Platform.xx

Signed-off-by: fufesou <[email protected]>

---------

Signed-off-by: fufesou <[email protected]>
2024-03-22 13:16:37 +08:00

14 lines
299 B
Dart

abstract class NativeHandler {
bool onEvent(Map<String, dynamic> evt);
}
class NativeUiHandler extends NativeHandler {
NativeUiHandler._();
static NativeUiHandler instance = NativeUiHandler._();
@override
bool onEvent(Map<String, dynamic> evt) {
throw UnimplementedError();
}
}