This commit is contained in:
Simon Ding
2024-07-13 19:40:56 +08:00
parent 50a237df25
commit 1fc3d3a1fe
2 changed files with 5 additions and 5 deletions

View File

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