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 15 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 644499 elements...
Initialized dartdoc with 788 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 59.0 seconds
ERR:
warning: dropdown has no library level documentation comments
from dropdown: (file:///tmp/pana_BHRNJW/lib/dropdown_plus.dart:1:1)
error: file already written at "dropdown/index.html"
for symbol dropdown: (file:///tmp/pana_BHRNJW/lib/dropdown.dart:1:1)
conflicting with file already generated by dropdown: (file:///tmp/pana_BHRNJW/lib/dropdown_plus.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
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.dartthat imports:dart:io
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.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.