mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 修复图标非const
This commit is contained in:
@@ -311,14 +311,14 @@ class _MemberPageState extends State<MemberPage>
|
|||||||
FontAwesomeIcons.venus,
|
FontAwesomeIcons.venus,
|
||||||
size: 14,
|
size: 14,
|
||||||
color: Colors.pink,
|
color: Colors.pink,
|
||||||
semanticLabel: _memberController.memberInfo.value.sex,
|
semanticLabel: '女',
|
||||||
),
|
),
|
||||||
if (_memberController.memberInfo.value.sex == '男')
|
if (_memberController.memberInfo.value.sex == '男')
|
||||||
const Icon(
|
const Icon(
|
||||||
FontAwesomeIcons.mars,
|
FontAwesomeIcons.mars,
|
||||||
size: 14,
|
size: 14,
|
||||||
color: Colors.blue,
|
color: Colors.blue,
|
||||||
semanticLabel: _memberController.memberInfo.value.sex,
|
semanticLabel: '男',
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Image.asset(
|
Image.asset(
|
||||||
|
|||||||
Reference in New Issue
Block a user