-
Notifications
You must be signed in to change notification settings - Fork 43
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
Upgrade Flutter used for build, and fix linter warnings #199
Conversation
@@ -6,7 +6,7 @@ import 'constants.dart'; | |||
|
|||
class ApiCard extends StatefulWidget { | |||
final Future<void> Function(String usernameOrEmail, String password) action; | |||
const ApiCard({required final this.action, final Key? key}) : super(key: key); |
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.
Fixes unnecessary final
warnings, as these are implicitly final
.
Codecov ReportBase: 98.68% // Head: 98.74% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #199 +/- ##
============================================
+ Coverage 98.68% 98.74% +0.06%
Complexity 82 82
============================================
Files 80 80
Lines 1441 1439 -2
Branches 320 320
============================================
- Hits 1422 1421 -1
+ Misses 7 6 -1
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Thank you!
📋 Changes
Primary motivation was that Ship CLI fails when running
flutter analyze
(now returns a non-zero exit code even for warnings). Plus, good to keep up to date with latest Flutter anyway, and linter warnings should be fixed before they get out of hand.📎 References
🎯 Testing