opt: settings page

This commit is contained in:
lollipopkit
2023-02-06 15:32:36 +08:00
parent 3feef3936c
commit e7b1773e5c
11 changed files with 213 additions and 180 deletions

View File

@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:toolbox/data/res/terminal_color.dart';
import 'package:xterm/ui.dart';
import '../../res/terminal_color.dart';
class TerminalUITheme {
final Color cursor;

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 214;
static const int build = 215;
static const String engine =
"Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision b06b8b2710 (10 days ago) • 2023-01-23 16:55:55 -0800\nEngine • revision b24591ed32\nTools • Dart 2.19.0 • DevTools 2.20.1\n";
static const String buildAt = "2023-02-03 12:48:35.264858";
static const int modifications = 12;
"Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision b06b8b2710 (13 days ago) • 2023-01-23 16:55:55 -0800\nEngine • revision b24591ed32\nTools • Dart 2.19.0 • DevTools 2.20.1\n";
static const String buildAt = "2023-02-05 22:11:13.992594";
static const int modifications = 9;
}

View File

@@ -27,5 +27,6 @@ class SettingStore extends PersistentStore {
property('termColorIdx', defaultValue: 0);
/// Max retry count when connect to server
StoreProperty<int> get maxRetryCount => property('maxRetryCount', defaultValue: 7);
StoreProperty<int> get maxRetryCount =>
property('maxRetryCount', defaultValue: 7);
}