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

CI Failing due to usage of some deprecated features #135

Closed
3 tasks
roopak99 opened this issue Sep 11, 2021 · 0 comments · Fixed by #144
Closed
3 tasks

CI Failing due to usage of some deprecated features #135

roopak99 opened this issue Sep 11, 2021 · 0 comments · Fixed by #144
Labels
urgent Something that should be fixed ASAP

Comments

@roopak99
Copy link
Contributor

roopak99 commented Sep 11, 2021

Describe the bug
CI fails after #84 due to the following features ( accentColor, accentTextTheme and brightness )
These errors are thrown by flutter analyze and the log of it is attached below :

CI Flutter analyze log
Analyzing mobile-app...                                         

   info • 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/cv_theme.dart:56:9 • deprecated_member_use
   info • 'accentColor' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/ib_theme.dart:11:7 • deprecated_member_use
   info • 'accentTextTheme' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/ib_theme.dart:21:7 • deprecated_member_use
   info • 'accentTextTheme' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/ib_theme.dart:21:42 • deprecated_member_use
   info • 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/main.dart:43:15 • deprecated_member_use
   info • 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/main.dart:55:15 • deprecated_member_use
   info • 'brightness' is deprecated and shouldn't be used. This property is no longer used, please use systemOverlayStyle instead. This feature was deprecated after v2.4.0-0.0.pre. • lib/ui/views/ib/ib_landing_view.dart:71:7 • deprecated_member_use

7 issues found. (ran in 20.7s)

Checklist :

  • accentColor depreciated, replace it with colorScheme.secondary
  • accentTextTheme depreciated, replace it with colorScheme.secondary
  • brightness depreciated, replace it with ThemeData.estimateBrightnessForColor()

More info: https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#accentcolorbrightness
Welcome to Flutter 2.5 💯

edited by @manjotsidhu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
urgent Something that should be fixed ASAP
Projects
None yet
2 participants