import 'package:flutter/material.dart'; class LoadingIndicator extends StatelessWidget { final double size; final Color color; final double strokeWidth; const LoadingIndicator({ super.key, this.size = 40, this.color = Colors.blue, this.strokeWidth = 3, }); @override Widget build(BuildContext context) { return Center( child: SizedBox( width: size, height: size, child: CircularProgressIndicator( valueColor: AlwaysStoppedAnimation(color), strokeWidth: strokeWidth, ), ), ); } }