更新一个字体
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// 充电入口行(显示充电状态 + 点击进入详情)
|
||||
class ChargeEntry extends StatelessWidget {
|
||||
final String summary;
|
||||
final bool isCharging;
|
||||
@@ -23,6 +22,7 @@ class ChargeEntry extends StatelessWidget {
|
||||
Text(
|
||||
summary,
|
||||
style: const TextStyle(
|
||||
fontFamily: 'HarmonyOS_Sans_SC', // 🟢 混合文本用 Harmony
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.black87,
|
||||
@@ -33,6 +33,7 @@ class ChargeEntry extends StatelessWidget {
|
||||
Text(
|
||||
'充电信息',
|
||||
style: TextStyle(
|
||||
fontFamily: 'HarmonyOS_Sans_SC',
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.grey.shade700,
|
||||
@@ -42,6 +43,7 @@ class ChargeEntry extends StatelessWidget {
|
||||
Text(
|
||||
'>',
|
||||
style: TextStyle(
|
||||
fontFamily: 'HarmonyOS_Sans_SC',
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.grey.shade700,
|
||||
|
||||
Reference in New Issue
Block a user