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

flutter analyze failing on at_common_flutter due to deprecation #842

Closed
cpswan opened this issue May 17, 2024 · 0 comments · Fixed by #850
Closed

flutter analyze failing on at_common_flutter due to deprecation #842

cpswan opened this issue May 17, 2024 · 0 comments · Fixed by #850
Assignees
Labels
bug Something isn't working

Comments

@cpswan
Copy link
Member

cpswan commented May 17, 2024

Which at_widget package you find issue with?

at_common_flutter

On what platforms did you experience the issue?

Linux

What version are you using?

2.0.13

What happened?

During the CI run for #841

Analyzing at_common_flutter...                                  

  error • The named parameter 'backgroundColor' isn't defined • example/lib/main.dart:28:13 • undefined_named_parameter
  error • The named parameter 'backgroundColor' isn't defined • example/lib/main.dart:34:13 • undefined_named_parameter

2 issues found. (ran in 9.0s)

This was previously deprecated, and has been removed in Dart 3.4

The previous deprecation warning was:

   info • 'backgroundColor' is deprecated and shouldn't be used. Use colorScheme.background instead. This feature was
          deprecated after v3.3.0-0.5.pre • example/lib/main.dart:28:13 • deprecated_member_use
   info • 'backgroundColor' is deprecated and shouldn't be used. Use colorScheme.background instead. This feature was
          deprecated after v3.3.0-0.5.pre • example/lib/main.dart:34:13 • deprecated_member_use

Steps to reproduce

1. Go to packages/at_common_flutter
2. Run `flutter analyze` with latest Flutter

...

Additional info

@srieteja I've assigned you to this given that we don't have the GeekyAnts team now, but if you're not the right person then please let us know.

Relevant log output

No response

Flutter analyze output

Analyzing at_common_flutter...                                  

  error • The named parameter 'backgroundColor' isn't defined • example/lib/main.dart:28:13 • undefined_named_parameter
  error • The named parameter 'backgroundColor' isn't defined • example/lib/main.dart:34:13 • undefined_named_parameter

2 issues found. (ran in 9.0s)


### Flutter doctor output

_No response_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants