swayze icon indicating copy to clipboard operation
swayze copied to clipboard

Fails to Pass Pub.dev Static Analysis

Open getBoolean opened this issue 3 years ago • 1 comments

Given

Package published on pub.dev

When

Checking Scores tab,

Then

The package failed to pass static analysis, and supported platforms shows as "Unknown Platforms".

brave_Pkpwu9mZXP

Expectation

Should pass static analysis.

More information

Excerpt from the failure description:

Found 3 issues. Showing the first 2:

ERROR: The named parameter 'manager' isn't defined.

lib/src/widgets/shortcuts/shortcuts.dart:49:7

   ╷
49 │       manager: manager,
   │       ^^^^^^^
   ╵

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/src/core/scrolling/pointer_scroll_detector.dart:50:30

   ╷
50 │       GestureBinding.instance?.pointerSignalResolver
   │                              ^^
   ╵

getBoolean avatar Nov 01 '22 16:11 getBoolean

I tried to clone the repo locally and find the 3rd issue, but I am getting a dependency conflict when I try to do flutter pub get.

It only works if I set build_runner to any and remove dart_doc.

getBoolean avatar Nov 01 '22 16:11 getBoolean