mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
feat. & opt.
switch for distribution logo opt. for server detail page
This commit is contained in:
@@ -1 +1 @@
|
||||
enum PkgManager { apt, yum, zypper, pacman, opkg }
|
||||
enum PkgManager { apt, yum, zypper, pacman, opkg }
|
||||
|
||||
@@ -8,7 +8,6 @@ enum Dist {
|
||||
wrt,
|
||||
armbian,
|
||||
arch,
|
||||
/// Rocky Linux
|
||||
rocky;
|
||||
|
||||
String? get iconPath {
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 176;
|
||||
static const int build = 183;
|
||||
static const String engine =
|
||||
"Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision b8f7f1f986 (7 weeks ago) • 2022-11-23 06:43:51 +0900\nEngine • revision 8f2221fbef\nTools • Dart 2.18.5 • DevTools 2.15.0\n";
|
||||
static const String buildAt = "2023-01-09 13:53:02.523811";
|
||||
static const int modifications = 0;
|
||||
"Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision b06b8b2710 (4 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-01-27 21:38:08.181334";
|
||||
static const int modifications = 19;
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ class DynamicColor {
|
||||
}
|
||||
|
||||
final mainColor = DynamicColor(Colors.black87, Colors.white70);
|
||||
final progressColor = DynamicColor(Colors.grey.shade100, Colors.grey);
|
||||
final progressColor = DynamicColor(Colors.grey.shade100, Colors.white10);
|
||||
|
||||
@@ -3,5 +3,7 @@ import 'package:flutter/material.dart';
|
||||
const textSize18 = TextStyle(fontSize: 18);
|
||||
const textSize11 = TextStyle(fontSize: 11);
|
||||
const textSize13 = TextStyle(fontSize: 13);
|
||||
const textSize13Grey = TextStyle(color: Colors.grey, fontSize: 13);
|
||||
const textSize27 = TextStyle(fontSize: 27);
|
||||
|
||||
const grey = TextStyle(color: Colors.grey);
|
||||
|
||||
@@ -4,10 +4,18 @@ import 'package:toolbox/core/persistant_store.dart';
|
||||
class SettingStore extends PersistentStore {
|
||||
StoreProperty<int> get primaryColor =>
|
||||
property('primaryColor', defaultValue: Colors.deepPurpleAccent.value);
|
||||
|
||||
StoreProperty<int> get serverStatusUpdateInterval =>
|
||||
property('serverStatusUpdateInterval', defaultValue: 5);
|
||||
|
||||
/// Lanch page idx
|
||||
StoreProperty<int> get launchPage => property('launchPage', defaultValue: 0);
|
||||
|
||||
/// Version of store db
|
||||
StoreProperty<int> get storeVersion =>
|
||||
property('storeVersion', defaultValue: 0);
|
||||
|
||||
/// Show logo on server detail page
|
||||
StoreProperty<bool> get showDistLogo =>
|
||||
property('showDistLogo', defaultValue: true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user