#71 new & opt.

- ssh page virt key long press
- custom ssh virt keys
This commit is contained in:
lollipopkit
2023-06-27 00:41:56 +08:00
parent dc63d902e5
commit 0022294ea4
30 changed files with 550 additions and 94 deletions

View File

@@ -1,11 +1,12 @@
import 'package:flutter/material.dart';
import 'package:toolbox/core/persistant_store.dart';
import 'package:toolbox/core/utils/platform.dart';
import 'package:toolbox/data/model/ssh/virtual_key.dart';
import '../res/default.dart';
class SettingStore extends PersistentStore {
StoreProperty<int> get primaryColor => property(
StoreProperty<int> get primaryColor => property<int>(
'primaryColor',
defaultValue: 4287106639,
);
@@ -76,4 +77,7 @@ class SettingStore extends PersistentStore {
StoreProperty<int> get keyboardType =>
property('keyboardType', defaultValue: TextInputType.text.index);
StoreProperty<List<VirtKey>> get sshVirtKeys =>
property('sshVirtKeys', defaultValue: defaultSSHVirtKeys);
}