// Flutter imports: import 'package:flutter/material.dart'; // Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; export 'package:flutter_screenutil/flutter_screenutil.dart'; export 'package:aku_new_community_manager/const/resource.dart'; //默认小区名称 const kEstateName = '深圳华茂悦峰'; //颜色,渐变主颜色和次级颜色 const kPrimaryColor = Color(0xFFFDCF12); const kMinorColor = Color(0xFFFFDF5D); const kSubColor = Color(0xFF3F8FFE); //字体 ///主字体颜色 const kTextPrimaryColor = Color(0xFF333333); ///次字体颜色 const kTextSubColor = Color(0xFF999999); ///背景色 const kBackgroundColor = Color(0xFFF9F9F9); class AppStyle { //颜色,渐变主颜色和次级颜色 static const primaryColor = Color(0xFFFDCF12); static const minorColor = Color(0xFFFFDF5D); static const secondaryColor = Color(0xFF3F8FFE); //字体 ///主字体颜色 static const primaryTextColor = Color(0xFF333333); ///次字体颜色 static const minorTextColor = Color(0xFF999999); ///背景色 static const backgroundColor = Color(0xFFF9F9F9); ///成功色 static const successColor = Color(0xFF32B814); static const subSuccessColor = Color(0xFFE5FFDF); ///失败色 static const failColor = Color(0xFFFF4501); static const subFailColor = Color(0xFFFFE5DB); ///字体格式 final barTitleStyle = TextStyle( color: primaryTextColor, fontSize: 36.sp, fontWeight: FontWeight.bold, ); final primaryStyle = TextStyle( color: primaryTextColor, fontSize: 28.sp, fontWeight: FontWeight.bold); final minorStyle = TextStyle( color: minorTextColor, fontSize: 24.sp, fontWeight: FontWeight.normal); final secondaryTextStyle = TextStyle( color: AppStyle.minorTextColor, fontSize: 28.sp, fontWeight: FontWeight.normal); }