TerminalStudio / xterm.dart

💻 xterm.dart is a fast and fully-featured terminal emulator for Flutter, with support for mobile and desktop platforms.
https://pub.dev/packages/xterm
MIT License
500 stars 97 forks source link

Can example[main.dart] run on Chrome device? #142

Open danyuhao opened 1 year ago

danyuhao commented 1 year ago

After download this package,i try to run the examples(xterm.dart-master\example\lib) in vscode on windows 10. The running of main.dart passed when i select windows device, but failed when device changed to chrome, and i get compile errors like this:

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pty-0.3.1/lib/flutter_pty.dart:2:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pty-0.3.1/lib/src/flutter_pty_bindings_generated.dart:9:8: Error: Not found: 'dart:ffi'
import 'dart:ffi' as ffi;
       ^

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.0.1/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';

...

ganeshchenniah commented 1 year ago

Hi ,

Is there any update on this issue ? i m also facing same issue .