Description
xterm.dart is a terminal emulator library for Flutter apps, with support for mobile and desktop platforms. It is designed to work out of the box with no special configuration. You add the package to pubspec.yaml, create a terminal, attach it to a view and write to it, and an onOutput callback lets your app react to what the user types. The library says it renders at 60 frames per second and supports wide characters, including CJK and emoji, as well as input method editors. Version 3.0.0 added better mobile support, integration with Flutter's shortcut system, theme changes at runtime and fewer tree rebuilds for better performance. The terminal core can work without the Flutter frontend, so the same logic can be reused. The repository includes an example of a simple terminal in about 100 lines of code and an example SSH client built with dartssh2. The package requires Flutter 3.0.0 or newer. The project is licensed under MIT, and bugs and feature requests go to the issue tracker on GitHub.…
Highlights
- Terminal emulator widget for Flutter on mobile and desktop
- Renders at 60 fps with CJK and emoji support
- Works with input method editors and Flutter shortcuts
- Runtime theme changes
- Examples for a simple terminal and an SSH client
Ratings & Reviews
No ratings yet
Be the first to rate Xterm.dart.
People also visit
Xterm.dart FAQ
What is xterm.dart?
A Flutter library that provides a terminal emulator you can embed in your app.
Which platforms does it support?
Mobile and desktop Flutter platforms. It requires Flutter 3.0.0 or newer.
How do I use it?
Add the package to pubspec.yaml, create a terminal, attach it to a view and write to it. An onOutput callback receives user input.
Can I build an SSH client with it?
The repository has an example SSH client built with dartssh2, in about 100 lines of code.
What license is it under?
MIT.
What are the best Xterm.dart alternatives?
Popular alternatives to Xterm.dart include Extraterm, ReTerminal and Terminal7. See all Xterm.dart alternatives



