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 5 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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 629993 elements... Initialized dartdoc with 765 libraries 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... Generating docs for library dropdown_plus.dart from package:dropdown_button_plus/dropdown_plus.dart... Documented 3 public libraries in 68.9 seconds ERR: warning: unresolved doc reference [TextTheme.subtitle1] from dropdown.DropdownButton.style: (file:///tmp/pana_WKXXFH/lib/dropdown.dart:1205:20) in documentation inherited from dropdown.DropdownButton.style: (file:///tmp/pana_WKXXFH/lib/dropdown.dart:1205:20) warning: dropdown has no library level documentation comments from dropdown: (file:///tmp/pana_WKXXFH/lib/dropdown_plus.dart:1:1) error: file already written at "dropdown/index.html" for symbol dropdown: (file:///tmp/pana_WKXXFH/lib/dropdown_plus.dart:1:1) conflicting with file already generated by dropdown: (file:///tmp/pana_WKXXFH/lib/dropdown.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'dropdown' conflicts with another symbol in the generated path, and [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
No dependencies.
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
vector_math |
- | 2.1.4 | 2.1.5 |
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.