16 Widget
build(BuildContext context) {
21 crossAxisAlignment: CrossAxisAlignment.start,
24 width:
double.infinity,
26 decoration: BoxDecoration(
27 color: Theme.of(context).highlightColor.withOpacity(0.11),
28 borderRadius: BorderRadius.circular(80),
30 child: FractionallySizedBox(
31 alignment: Alignment.centerLeft,
34 decoration: BoxDecoration(
35 color: Theme.of(context).colorScheme.primary,
36 borderRadius: BorderRadius.circular(80),
41 SizedBox(height: 10.sp),
43 padding:
const EdgeInsets.only(bottom: 8.0),
45 'Completed $percentage%',
46 style: Theme.of(context).textTheme.displaySmall?.copyWith(
47 color: Theme.of(context).hintColor.withOpacity(0.6),