fix: adjust subscription card layout
This commit is contained in:
@@ -710,11 +710,17 @@ class _SubscriptionCardState extends State<SubscriptionCard>
|
|||||||
final icon = PaymentCardUtils.iconForName(card.iconName);
|
final icon = PaymentCardUtils.iconForName(card.iconName);
|
||||||
|
|
||||||
return Chip(
|
return Chip(
|
||||||
avatar: CircleAvatar(
|
avatar: Container(
|
||||||
backgroundColor: Colors.white,
|
width: 20,
|
||||||
|
height: 20,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: color.withValues(alpha: 0.15),
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
),
|
||||||
|
alignment: Alignment.center,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
icon,
|
icon,
|
||||||
size: 14,
|
size: 12,
|
||||||
color: color,
|
color: color,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -58,7 +58,6 @@ class SubscriptionListWidget extends StatelessWidget {
|
|||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||||
cacheExtent: 500,
|
cacheExtent: 500,
|
||||||
prototypeItem: const SizedBox(height: 156),
|
|
||||||
itemCount: subscriptions.length,
|
itemCount: subscriptions.length,
|
||||||
itemBuilder: (context, subIndex) {
|
itemBuilder: (context, subIndex) {
|
||||||
// 각 구독의 지연값 계산 (순차적으로 나타나도록)
|
// 각 구독의 지연값 계산 (순차적으로 나타나도록)
|
||||||
|
|||||||
Reference in New Issue
Block a user