xterm
4.0.0, released 3 years ago by terminal.studio
A fast and fully-featured terminal emulator widget for Flutter applications.
WASM-readyQuiet but busy
What it does
Provides a terminal emulator widget and core engine that supports mobile and desktop platforms. It renders text at 60fps, handles wide characters like CJK and emojis, and integrates with Flutter's shortcut and input systems.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build an SSH client, local shell, or serial monitor inside a Flutter app.
- You require a fast terminal rendering engine that works on mobile and desktop.
Skip it when
- You are looking for a general-purpose webview or code editor component rather than a terminal emulator.
Strengths
- Works out of the box with no special configuration.
- Frontend independent (terminal core can work without the Flutter frontend).
- Supports IMEs, custom themes, and wide characters (CJK/emojis).
Weaknesses
- Limited to terminal emulation functionality.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Requires Flutter >=3.0.0. Just add the dependency to pubspec.yaml and instantiate Terminal and TerminalView.
import 'package:xterm/xterm.dart';
import 'package:xterm/flutter.dart';
final terminal = Terminal();
// In your widget build method:
TerminalView(terminal)Alternatives
Packages that do the same job and could replace xterm.
Works with
Packages commonly used together with xterm: ones it builds on, ones built on it, and its own family.
- convertxterm depends on itEncoders and decoders for converting between different data representations.
- equatablexterm depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- quiverxterm depends on itA set of utility libraries for Dart containing collections, async tools, and testing helpers.