import 'package:flutter/material.dart'; class LoadingProgressComponent extends StatelessWidget { const LoadingProgressComponent({ super.key, this.color, this.height, this.width, this.value, }); final Color? color; final double? height; final double? width; final double? value; @override Widget build(BuildContext context) { return SizedBox( height: height ?? 20, width: width ?? 20, child: CircularProgressIndicator( value: value, strokeWidth: 2, valueColor: AlwaysStoppedAnimation( color ?? Theme.of(context).primaryColor, ), ), ); } }