import 'dart:ui';

import 'package:vbvs_app/common/util/FitTool.dart';
import 'package:vbvs_app/common/util/MyUtils.dart';
import 'package:vbvs_app/enum/APPPackageType.dart';

class AppConstants {
  // App-related constants
  static const int code_time = 60; //验证码倒计时
  static const int limit = 10; //分页数量

  static const double list_end_height = 26; //列表结尾空白高度
  static const double list_ano_end_height = 100; //列表结尾空白高度
  static const double list_start_height = 13; //列表开头空白高度

  static const double page_button_bottom_padding = 45; //页面底部按钮距离底部距离

  double main_left_right_padding = 30.rpx; //页面左右布局间距
  double content_left_right_padding = 15.rpx; //页面左右内容间距

  double normal_container_radius = 24.rpx; //普通容器圆角
  double button_container_radius = 100.rpx; //按钮容器圆角

  double text_padding_up_dowm_p = 5.rpx; //段落文字上下间距

  double smaller_text_fontSize = 18.rpx; //普通文字字号
  double small_text_fontSize = 20.rpx; //普通文字字号
  double middler_text_fontSize = 24.rpx; //普通文字字号
  double normal_text_fontSize = 26.rpx; //普通文字字号
  double title_text_fontSize = 30.rpx; //标题文字字号

  double dropdown_height = 90.rpx; //标题文字字号
  double border_width = 1.rpx; //标题文字字号//border宽度

  List<Color> mhtButtongradientColors = [
    stringToColor("FCFCFC"), // 浅蓝
    stringToColor("F8FAF9"), // 浅蓝
    stringToColor("ECF6F3"), // 浅蓝
    stringToColor("D9F0E9"), // 浅蓝
    stringToColor("CEECE3"), // 浅蓝
  ];

  List<Color> mhtNormalButton = [
    stringToColor("1592AA"), // 浅蓝
    stringToColor("0C83A7"), // 浅蓝
    stringToColor("006FA3"), // 浅蓝
  ];

  //系统参数
  //运行打包APP模式
  int ent_type = APPPackageType.MHT.code; //1.默认太和 2.欢睡 3.眠花糖
}
