Skip to content

Conversation

agustinkoll-rootstrap
Copy link
Contributor

Description

Resolved all lints until flutter analyze reports no issues.
Removed IDE artifacts by deleting.idea/from VCS and adding it to .gitignore. Added additional ignores for common local/dev files.
Replaced deprecated Flutter/Dart parameters/APIs with current equivalents to align with latest stable SDKs.

Issue

Preview

image

Notes:

[extra note or considerations]

@rs-gpt-review Describe the changes in this PR. Recommend improvements (including code improvements), possible memory leaks, and best practices.

width: width,
height: height,
color: svgIconColor,
colorFilter: color != null ? ColorFilter.mode(svgIconColor!, BlendMode.srcIn) : null,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
colorFilter: color != null ? ColorFilter.mode(svgIconColor!, BlendMode.srcIn) : null,
colorFilter: color != null ? ColorFilter.mode(svgIconColor!, BlendMode.srcIn,) : null,

height: height,
fit: fit,
color: color,
colorFilter: color != null ? ColorFilter.mode(color, BlendMode.srcIn) : null,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
colorFilter: color != null ? ColorFilter.mode(color, BlendMode.srcIn) : null,
colorFilter: color != null ? ColorFilter.mode(color, BlendMode.srcIn,) : null,


const FailureWidget({Key? key, required this.failure, required this.onRetry})
: super(key: key);
const FailureWidget({super.key, required this.failure, required this.onRetry});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const FailureWidget({super.key, required this.failure, required this.onRetry});
const FailureWidget({super.key, required this.failure, required this.onRetry,});


const ConnectionErrorWidget({Key? key, required this.onRetry})
: super(key: key);
const ConnectionErrorWidget({super.key, required this.onRetry});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const ConnectionErrorWidget({super.key, required this.onRetry});
const ConnectionErrorWidget({super.key, required this.onRetry,});


const UnexpectedErrorWidget({Key? key, required this.onRetry})
: super(key: key);
const UnexpectedErrorWidget({super.key, required this.onRetry});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const UnexpectedErrorWidget({super.key, required this.onRetry});
const UnexpectedErrorWidget({super.key, required this.onRetry,});

final Product product;

const ProductWidget({Key? key, required this.product}) : super(key: key);
const ProductWidget({super.key, required this.product});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const ProductWidget({super.key, required this.product});
const ProductWidget({super.key, required this.product,});

final List<Product> products;

const ProductsListWidget({Key? key, required this.products}) : super(key: key);
const ProductsListWidget({super.key, required this.products});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const ProductsListWidget({super.key, required this.products});
const ProductsListWidget({super.key, required this.products,});

static void initialize() {
// Initialize analytics services here
print("Analytics services initialized.");
developer.log('Analytics services initialized.', name: 'analytics');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
developer.log('Analytics services initialized.', name: 'analytics');
developer.log('Analytics services initialized.', name: 'analytics',);

@agustinkoll-rootstrap agustinkoll-rootstrap merged commit 06e0053 into main Oct 3, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants