mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
21 lines
407 B
Dart
21 lines
407 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:xterm/core.dart';
|
|
|
|
class VirtualKey {
|
|
final String text;
|
|
final bool toggleable;
|
|
final TerminalKey? key;
|
|
final IconData? icon;
|
|
final VirtualKeyFunc? func;
|
|
|
|
VirtualKey(
|
|
this.text, {
|
|
this.key,
|
|
this.toggleable = false,
|
|
this.icon,
|
|
this.func,
|
|
});
|
|
}
|
|
|
|
enum VirtualKeyFunc { toggleIME, backspace, copy, paste, snippet, file }
|