mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-28 16:58:41 +01:00
19 lines
386 B
Dart
19 lines
386 B
Dart
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
|
|
|
class SmallProgressIndicator extends StatelessWidget {
|
|
final Color? color;
|
|
|
|
const SmallProgressIndicator({super.key, this.color});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: CircularProgressIndicator(
|
|
color: color,
|
|
size: 12,
|
|
strokeWidth: 2,
|
|
),
|
|
);
|
|
}
|
|
}
|