1.5.2版本发布及部分readme更新
This commit is contained in:
@@ -25,7 +25,9 @@
|
||||
| 版本 | 主题 | 状态 |
|
||||
| :--- | :--- | :--- |
|
||||
| 1.5.0 | 功率计算优化 | ✅ 已发布 |
|
||||
| 2.0.0 | 数据看板扩展(月/季/年趋势) | 📋 远景 |
|
||||
| 1.5.2 | 部分场景字体替换 | ✅ 已发布 |
|
||||
| 1.6.0 | 更新日志独立页面 | 📋近期开发 |
|
||||
| 2.0.0 | 数据看板扩展等系列更新 | 📋 远景 |
|
||||
|
||||
---
|
||||
|
||||
|
||||
+3
-5
@@ -23,11 +23,9 @@ class MyApp extends StatelessWidget {
|
||||
// 🟢 数字回退到 FlymeFont
|
||||
fontFamilyFallback: const ['Flyme'],
|
||||
// 🟢 统一文字颜色为黑色
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFFFFFFFF))
|
||||
.copyWith(
|
||||
onSurface: Colors.black, // 主要文字颜色
|
||||
onBackground: Colors.black,
|
||||
),
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: const Color(0xFFFFFFFF),
|
||||
).copyWith(onSurface: Colors.black),
|
||||
textTheme: const TextTheme(
|
||||
// 大标题/数字(健康度、容量等)
|
||||
displayMedium: TextStyle(
|
||||
|
||||
@@ -91,7 +91,7 @@ class BatterySummary extends StatelessWidget {
|
||||
text: ' / ',
|
||||
style: TextStyle(
|
||||
fontFamily: 'HarmonyOS_Sans_SC',
|
||||
color: const Color(0xFF5F5F5F).withOpacity(0.5),
|
||||
color: const Color(0xFF5F5F5F).withValues(alpha: 0.5),
|
||||
),
|
||||
),
|
||||
TextSpan(text: designCap.toString()),
|
||||
|
||||
@@ -11,14 +11,14 @@ class ChargeDetailPage extends StatelessWidget {
|
||||
final int? wiredLevel;
|
||||
|
||||
const ChargeDetailPage({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.chargeType,
|
||||
required this.isWireless,
|
||||
required this.power,
|
||||
required this.volt,
|
||||
required this.curr,
|
||||
this.wiredLevel,
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
String _getProtocolDisplay() {
|
||||
if (isWireless) return '无线充电($chargeType)';
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.5.0
|
||||
version: 1.5.2
|
||||
|
||||
environment:
|
||||
sdk: ^3.9.2
|
||||
|
||||
Reference in New Issue
Block a user