fix: 欢迎卡片图标去白圆点 + 按钮渐变图标 + 多处微调
This commit is contained in:
@@ -408,7 +408,10 @@ class ChatMessagesView extends ConsumerWidget {
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
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),
|
||||
Text(
|
||||
a.label,
|
||||
@@ -2040,23 +2043,7 @@ class _AgentMark extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
child: Stack(
|
||||
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)),
|
||||
],
|
||||
),
|
||||
child: Center(child: Icon(icon, size: 32, color: Colors.white)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user