fix: 欢迎卡片图标去白圆点 + 按钮渐变图标 + 多处微调

This commit is contained in:
MingNian
2026-06-17 11:22:02 +08:00
parent 4f1ad82345
commit 0f2a9c1c1a

View File

@@ -408,7 +408,10 @@ class ChatMessagesView extends ConsumerWidget {
child: Row( child: Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
Icon(a.icon, size: 24, color: AppColors.textPrimary), ShaderMask(
shaderCallback: (bounds) => AppColors.actionOutlineGradient.createShader(bounds),
child: Icon(a.icon, size: 24, color: Colors.white),
),
const SizedBox(width: 10), const SizedBox(width: 10),
Text( Text(
a.label, a.label,
@@ -2040,23 +2043,7 @@ class _AgentMark extends StatelessWidget {
), ),
], ],
), ),
child: Stack( child: Center(child: Icon(icon, size: 32, color: Colors.white)),
children: [
Positioned(
right: 8,
top: 8,
child: Container(
width: 8,
height: 8,
decoration: BoxDecoration(
color: Colors.white.withValues(alpha: 0.72),
shape: BoxShape.circle,
),
),
),
Center(child: Icon(icon, size: 32, color: Colors.white)),
],
),
); );
} }
} }