mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-15 12:09:08 +08:00
9558974080
* Refact. Build flutter web Signed-off-by: fufesou <shuanglongchen@yeah.net> * Refact. Flutter web, wrap Platform.xx Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
9 lines
318 B
Dart
9 lines
318 B
Dart
import 'native_model.dart' if (dart.library.html) 'web_model.dart';
|
|
import 'package:flutter_hbb/generated_bridge.dart'
|
|
if (dart.library.html) 'package:flutter_hbb/web/bridge.dart';
|
|
|
|
final platformFFI = PlatformFFI.instance;
|
|
final localeName = PlatformFFI.localeName;
|
|
|
|
RustdeskImpl get bind => platformFFI.ffiBind;
|