You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.0 KiB
48 lines
1.0 KiB
import 'package:flutter/cupertino.dart';
|
|
|
|
/// [UOS设计指南](https://docs.uniontech.com/zh/content/t_dbG3kBK9iDf9B963ok)
|
|
const double localManagerPanelWidth = 260;
|
|
|
|
const double marketOrMePanelWidth = 400;
|
|
|
|
const shortDuration = const Duration(milliseconds: 100);
|
|
|
|
const mediumDuration = const Duration(milliseconds: 300);
|
|
|
|
const longDuration = const Duration(milliseconds: 500);
|
|
|
|
const minWindowSize = const Size(800, 600);
|
|
|
|
const defaultWindowSize = const Size(1120, 720);
|
|
|
|
const double defaultBorderRadius = 8;
|
|
|
|
const double defaultButtonHeight = 36;
|
|
|
|
const List<String> builtInCommands = [
|
|
'ShowWorkspace',
|
|
'Handle4Or5FingersSwipeUp',
|
|
'Handle4Or5FingersSwipeDown',
|
|
'ToggleMaximize',
|
|
'Minimize',
|
|
'ShowWindow',
|
|
'ShowAllWindow',
|
|
'SwitchApplication',
|
|
'ReverseSwitchApplication',
|
|
'SwitchWorkspace',
|
|
'ReverseSwitchWorkspace',
|
|
'SplitWindowLeft',
|
|
'SplitWindowRight',
|
|
'MoveWindow',
|
|
];
|
|
|
|
enum PanelType {
|
|
local_manager,
|
|
market_or_me,
|
|
}
|
|
|
|
enum UploadRespStatus {
|
|
done,
|
|
name_occupied,
|
|
error,
|
|
} |