Files
polaris/ui/lib/widgets/progress_indicator.dart
Simon Ding 1fc3d3a1fe fix
2024-07-13 19:40:56 +08:00

21 lines
513 B
Dart

import 'package:flutter/material.dart';
class MyProgressIndicator extends StatelessWidget {
final double size;
final Color? color;
final double? value;
const MyProgressIndicator({super.key, this.size = 30, this.color, this.value});
@override
Widget build(BuildContext context) {
return Center(
child: SizedBox(
width: size,
height: size,
child: CircularProgressIndicator(
color: color,
value: value,
)));
}
}