wonders/lib/ui/common/controls/app_loading_indicator.dart
2022-08-29 20:38:28 -06:00

21 lines
506 B
Dart

import 'package:wonders/common_libs.dart';
class AppLoadingIndicator extends StatelessWidget {
const AppLoadingIndicator({Key? key, this.value, this.color}) : super(key: key);
final Color? color;
final double? value;
@override
Widget build(BuildContext context) {
return SizedBox(
width: 40,
height: 40,
child: CircularProgressIndicator(
color: color ?? $styles.colors.accent1,
value: value,
strokeWidth: 1.0,
),
);
}
}