mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
55 lines
949 B
Dart
55 lines
949 B
Dart
import 'dart:ui';
|
|
|
|
import 'package:toolbox/data/model/ssh/virtual_key.dart';
|
|
|
|
abstract final class Defaults {
|
|
// default server details page cards order
|
|
static const detailCardOrder = [
|
|
'about',
|
|
'cpu',
|
|
'mem',
|
|
'swap',
|
|
'gpu',
|
|
'disk',
|
|
'net',
|
|
'temp',
|
|
'battery'
|
|
];
|
|
|
|
static const diskIgnorePath = [
|
|
'udev',
|
|
'tmpfs',
|
|
'devtmpfs',
|
|
'overlay',
|
|
'run',
|
|
'none',
|
|
'shm',
|
|
];
|
|
|
|
static const sshVirtKeys = [
|
|
VirtKey.esc,
|
|
VirtKey.alt,
|
|
VirtKey.home,
|
|
VirtKey.up,
|
|
VirtKey.end,
|
|
VirtKey.sftp,
|
|
VirtKey.snippet,
|
|
VirtKey.tab,
|
|
VirtKey.ctrl,
|
|
VirtKey.left,
|
|
VirtKey.down,
|
|
VirtKey.right,
|
|
VirtKey.clipboard,
|
|
VirtKey.ime,
|
|
];
|
|
|
|
static const primaryColor = Color.fromARGB(255, 145, 58, 31);
|
|
|
|
static const launchPageIdx = 0;
|
|
|
|
static const updateInterval = 3;
|
|
|
|
static const editorTheme = 'a11y-light';
|
|
static const editorDarkTheme = 'monokai';
|
|
}
|