Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized class name #431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lib/src/platform_circular_progress_indicator.dart
Original file line number Diff line number Diff line change
@@ -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<MaterialProgressIndicatorData>? material;
final PlatformBuilder<CupertinoProgressIndicatorData>? cupertino;
final PlatformBuilder<MaterialCircularProgressIndicatorData>? material;
final PlatformBuilder<CupertinoCircularProgressIndicatorData>? cupertino;

PlatformCircularProgressIndicator({
super.key,