dropdown_button_plus 0.0.2 dropdown_button_plus: ^0.0.2 copied to clipboard
A new Flutter material DropdownButton Plus package.
We analyzed this package 8 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting dropdown_button_plus...
Discovering libraries...
Linking elements...
Precaching local docs for 623843 elements...
Initialized dartdoc with 760 libraries
Generating docs for library dropdown_plus.dart from package:dropdown_button_plus/dropdown_plus.dart...
Generating docs for library dropdown_view.dart from package:dropdown_button_plus/dropdown_view.dart...
Generating docs for library dropdown.dart from package:dropdown_button_plus/dropdown.dart...
Documented 3 public libraries in 74.3 seconds
ERR:
warning: dropdown has no library level documentation comments
from dropdown: (file:///tmp/pana_UAURSN/lib/dropdown_plus.dart:1:9)
error: file already written at "dropdown/index.html"
for symbol dropdown: (file:///tmp/pana_UAURSN/lib/dropdown.dart:1:1)
conflicting with file already generated by dropdown: (file:///tmp/pana_UAURSN/lib/dropdown_plus.dart:1:9)
Dartdoc generates a path and filename to write to for each symbol.
'dropdown' conflicts with another symbol in the generated path, and
therefore can not be written out. Changing the name, library name, or
class name (if appropriate) of one of the conflicting items can resolve
the conflict. Alternatively, use the @nodoc
directive in one symbol's
[19 more lines]
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:dropdown_button_plus/dropdown.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/dropdown.dart:1462:51
╷
1462 │ widget.style ?? Theme.of(context).textTheme.subtitle1;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dropdown.dart
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/dropdown.dart:1544:37
╷
1544 │ Theme.of(context).textTheme.subtitle1!.fontSize!;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dropdown.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_GETTER
-lib/dropdown.dart:1462:51
- The getter 'subtitle1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/dropdown.dart:1544:37
- The getter 'subtitle1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/dropdown_view.dart:105:27
- The getter 'backgroundColor' isn't defined for the type 'ThemeData'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.