From 54198b168bbabd6ae2584717ad1a4d270ade858c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?book=E8=AF=97=E6=84=8F?= Date: Wed, 19 Jul 2023 10:05:57 +0800 Subject: [PATCH] Optimized class name 1. MaterialProgressIndicatorData -> MaterialCircularProgressIndicatorData 2. CupertinoProgressIndicatorData -> CupertinoCircularProgressIndicatorData --- lib/src/platform_circular_progress_indicator.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/platform_circular_progress_indicator.dart b/lib/src/platform_circular_progress_indicator.dart index 36a84328..979501a8 100644 --- a/lib/src/platform_circular_progress_indicator.dart +++ b/lib/src/platform_circular_progress_indicator.dart @@ -23,8 +23,8 @@ abstract class _BaseData { final Color? color; } -class MaterialProgressIndicatorData extends _BaseData { - MaterialProgressIndicatorData({ +class MaterialCircularProgressIndicatorData extends _BaseData { + MaterialCircularProgressIndicatorData({ super.key, super.color, this.backgroundColor, @@ -43,8 +43,8 @@ class MaterialProgressIndicatorData extends _BaseData { final String? semanticsValue; } -class CupertinoProgressIndicatorData extends _BaseData { - CupertinoProgressIndicatorData({ +class CupertinoCircularProgressIndicatorData extends _BaseData { + CupertinoCircularProgressIndicatorData({ super.key, super.color, this.animating, @@ -59,8 +59,8 @@ class PlatformCircularProgressIndicator extends PlatformWidgetBase< CupertinoActivityIndicator, CircularProgressIndicator> { final Key? widgetKey; - final PlatformBuilder? material; - final PlatformBuilder? cupertino; + final PlatformBuilder? material; + final PlatformBuilder? cupertino; PlatformCircularProgressIndicator({ super.key,