Skip to content

fix: alogn word validation with original wordle #62

fix: alogn word validation with original wordle

fix: alogn word validation with original wordle #62

Triggered via push July 27, 2024 05:34
Status Failure
Total duration 51s
Artifacts

CI.yml

on: push
🛠️ Validate format
26s
🛠️ Validate format
🔍 Analyze code
40s
🔍 Analyze code
🧪 Run test
27s
🧪 Run test
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 10 notices
🛠️ Validate format
Process completed with exit code 1.
The named parameter 'backgroundColor' isn't defined.: apps/rewordle/lib/main.dart#L46
Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'backgroundColor'. See https://dart.dev/diagnostics/undefined_named_parameter to learn more about this problem.
🔍 Analyze code
Dart Analyzer detected problems, see the logs for more information.
The value of the local variable 'correct' isn't used.: apps/rewordle/lib/persistence.dart#L43
Try removing the variable or using it. See https://dart.dev/diagnostics/unused_local_variable to learn more about this problem.
Use 'const' for final variables initialized to a constant value.: apps/rewordle/lib/main.dart#L9
Try replacing 'final' with 'const'. See https://dart.dev/diagnostics/prefer_const_declarations to learn more about this problem.
Use 'const' for final variables initialized to a constant value.: apps/rewordle/lib/main.dart#L10
Try replacing 'final' with 'const'. See https://dart.dev/diagnostics/prefer_const_declarations to learn more about this problem.
Use 'const' for final variables initialized to a constant value.: apps/rewordle/lib/main.dart#L11
Try replacing 'final' with 'const'. See https://dart.dev/diagnostics/prefer_const_declarations to learn more about this problem.
Use 'const' with the constructor to improve performance.: apps/rewordle/lib/main.dart#L12
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.
Use 'const' with the constructor to improve performance.: apps/rewordle/lib/main.dart#L13
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.
Use 'const' with the constructor to improve performance.: apps/rewordle/lib/main.dart#L14
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.
Constructors for public widgets should have a named 'key' parameter.: apps/rewordle/lib/main.dart#L17
Try adding a named parameter to the constructor. See https://dart.dev/diagnostics/use_key_in_widget_constructors to learn more about this problem.
Use 'const' with the constructor to improve performance.: apps/rewordle/lib/main.dart#L61
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.
Statements in an if should be enclosed in a block.: apps/rewordle/lib/main.dart#L119
Try wrapping the statement in a block. See https://dart.dev/diagnostics/curly_braces_in_flow_control_structures to learn more about this problem.
Use 'const' with the constructor to improve performance.: apps/rewordle/lib/main.dart#L124
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.