This commit is contained in:
guozhigq
2024-10-05 11:39:09 +08:00
parent e3a52db725
commit c08c3f4c7c

View File

@ -177,12 +177,18 @@ class _MinePageState extends State<MinePage>
), ),
const SizedBox(height: 2), const SizedBox(height: 2),
], ],
Text( Text.rich(
'硬币: ${userInfo.money ?? '-'}', TextSpan(children: [
TextSpan(
text: '硬币: ',
style: TextStyle( style: TextStyle(
color: Theme.of(context).colorScheme.outline, color: Theme.of(context).colorScheme.outline)),
), TextSpan(
), text: (userInfo.money ?? '-').toString(),
style: TextStyle(
color: Theme.of(context).colorScheme.primary)),
]),
)
], ],
), ),
const Spacer(), const Spacer(),