주요 구현 완료 기능: - 구독 관리 (추가/편집/삭제/카테고리 분류) - 이벤트 할인 시스템 (기본값 자동 설정) - SMS 자동 스캔 및 구독 정보 추출 - 알림 시스템 (타임존 처리 안정화) - 환율 변환 지원 (KRW/USD) - 반응형 UI 및 애니메이션 - 다국어 지원 (한국어/영어) 버그 수정: - NotificationService tz.local 초기화 오류 해결 - MainScreenSummaryCard 레이아웃 오버플로우 수정 - 구독 추가 시 LateInitializationError 완전 해결 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
94 lines
2.6 KiB
Dart
94 lines
2.6 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class SkeletonLoading extends StatelessWidget {
|
|
const SkeletonLoading({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
children: [
|
|
// 요약 카드 스켈레톤
|
|
Card(
|
|
margin: const EdgeInsets.all(16),
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(16.0),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Container(
|
|
width: 100,
|
|
height: 24,
|
|
color: Colors.grey[300],
|
|
),
|
|
const SizedBox(height: 16),
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
_buildSkeletonColumn(),
|
|
_buildSkeletonColumn(),
|
|
],
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
// 구독 목록 스켈레톤
|
|
Expanded(
|
|
child: ListView.builder(
|
|
itemCount: 5,
|
|
itemBuilder: (context, index) {
|
|
return Card(
|
|
margin: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
|
child: ListTile(
|
|
contentPadding: const EdgeInsets.all(16),
|
|
title: Container(
|
|
width: 200,
|
|
height: 24,
|
|
color: Colors.grey[300],
|
|
),
|
|
subtitle: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
const SizedBox(height: 8),
|
|
Container(
|
|
width: 150,
|
|
height: 16,
|
|
color: Colors.grey[300],
|
|
),
|
|
const SizedBox(height: 4),
|
|
Container(
|
|
width: 180,
|
|
height: 16,
|
|
color: Colors.grey[300],
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
},
|
|
),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
|
|
Widget _buildSkeletonColumn() {
|
|
return Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Container(
|
|
width: 80,
|
|
height: 16,
|
|
color: Colors.grey[300],
|
|
),
|
|
const SizedBox(height: 4),
|
|
Container(
|
|
width: 100,
|
|
height: 24,
|
|
color: Colors.grey[300],
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|