feat: implement some api; add md editor to app; login and signup logic.

This commit is contained in:
2021-12-30 20:04:00 +08:00
parent 1a0e8f8de7
commit 853132f1a8
61 changed files with 3205 additions and 149 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
import 'package:flutter/cupertino.dart';
/// [UOS设计指南](https://docs.uniontech.com/zh/content/t_dbG3kBK9iDf9B963ok)
const double localManagerPanelWidth = 260;
const double marketPanelWidth = 300;
const double marketOrMePanelWidth = 300;
const shortDuration = const Duration(milliseconds: 100);
@@ -39,5 +38,5 @@ const List<String> builtInCommands = [
enum PanelType {
local_manager,
market,
market_or_me,
}
+3
View File
@@ -2,4 +2,7 @@ class SPKeys {
static final String brightnessMode = 'BRIGHTNESS_MODE';
static final String appliedSchemeId = 'APPLIED_SCHEME_ID';
static final String userLanguage = 'USER_LANGUAGE';
static final String accessToken = 'USER_ACCESS_TOKEN';
static final String loginEmail = 'USER_LOGIN_EMAIL';
static final String ignoredUpdateVersion = 'IGNORED_UPDATE_VERSION';
}