-
Notifications
You must be signed in to change notification settings - Fork 0
Lint issues #107
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
Lint issues #107
Conversation
width: width, | ||
height: height, | ||
color: svgIconColor, | ||
colorFilter: color != null ? ColorFilter.mode(svgIconColor!, BlendMode.srcIn) : null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
developer.log('Analytics services initialized.', name: 'analytics'); | |
developer.log('Analytics services initialized.', name: 'analytics',); |
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
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.