mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt.: use ValueBuilder
This commit is contained in:
@@ -6,8 +6,22 @@ import 'package:xterm/core.dart';
|
||||
class VirtualKeyboard extends TerminalInputHandler with ChangeNotifier {
|
||||
VirtualKeyboard();
|
||||
|
||||
bool ctrl = false;
|
||||
bool alt = false;
|
||||
bool _ctrl = false;
|
||||
bool get ctrl => _ctrl;
|
||||
set ctrl(bool value) {
|
||||
if (value != _ctrl) {
|
||||
_ctrl = value;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
bool _alt = false;
|
||||
bool get alt => _alt;
|
||||
set alt(bool value) {
|
||||
if (value != _alt) {
|
||||
_alt = value;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
final _setting = locator<SettingStore>();
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 344;
|
||||
static const String engine = "3.10.2";
|
||||
static const String buildAt = "2023-06-02 22:02:47.585289";
|
||||
static const int modifications = 4;
|
||||
static const int build = 347;
|
||||
static const String engine = "3.10.3";
|
||||
static const String buildAt = "2023-06-04 22:37:44.679072";
|
||||
static const int modifications = 7;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user