mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
16 lines
382 B
Dart
16 lines
382 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 }
|