import 'package:flutter/material.dart'; import '../../theme/app_colors.dart'; import '../../widgets/themed_text.dart'; class ScanProgressWidget extends StatelessWidget { final int currentIndex; final int totalCount; const ScanProgressWidget({ super.key, required this.currentIndex, required this.totalCount, }); @override Widget build(BuildContext context) { return Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ // 진행 상태 표시 LinearProgressIndicator( value: (currentIndex + 1) / totalCount, backgroundColor: AppColors.navyGray.withValues(alpha: 0.2), valueColor: AlwaysStoppedAnimation( Theme.of(context).colorScheme.primary, ), ), const SizedBox(height: 8), ThemedText( '${currentIndex + 1}/$totalCount', fontWeight: FontWeight.w500, opacity: 0.7, forceDark: true, ), ], ); } }