import 'package:bootstrap_icons/bootstrap_icons.dart'; import 'package:english_learning/core/utils/styles/theme.dart'; import 'package:english_learning/features/home/widgets/progress_bar.dart'; import 'package:flutter/material.dart'; class ProgressCard extends StatelessWidget { const ProgressCard({super.key}); @override Widget build(BuildContext context) { return Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Container( width: double.infinity, decoration: BoxDecoration( color: AppColors.whiteColor, borderRadius: BorderRadius.circular(12), ), child: Padding( padding: const EdgeInsets.symmetric( horizontal: 16.0, vertical: 16.0, ), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Row( children: [ const Icon( BootstrapIcons.info_circle, color: AppColors.disableColor, size: 16, ), const SizedBox(width: 8), Text( 'Your Last Journey!', style: AppTextStyles.disableTextStyle.copyWith( fontSize: 12, fontWeight: FontWeight.w800, ), ), ], ), const SizedBox(height: 24), Container( width: double.infinity, decoration: BoxDecoration( color: Colors.transparent, borderRadius: BorderRadius.circular(12), border: Border.all( color: AppColors.disableColor, ), ), child: Padding( padding: const EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'Listening', style: AppTextStyles.blackTextStyle.copyWith( fontSize: 15, fontWeight: FontWeight.w900, ), ), const SizedBox(height: 4), Text( 'Topic 8: Entertaining | Level 3', style: AppTextStyles.disableTextStyle.copyWith( fontSize: 14, fontWeight: FontWeight.w600, ), ), const SizedBox(height: 12), const ProgressBar( currentProgress: 8, totalProgress: 11, ), ], ), ), ), ], ), ), ) ], ); } }