dropdown_button_plus 0.0.2 copy "dropdown_button_plus: ^0.0.2" to clipboard
dropdown_button_plus: ^0.0.2 copied to clipboard

A new Flutter material DropdownButton Plus package.

3
likes
80/ 160
pub points
26
downloads

We analyzed this package 5 days ago, and awarded it 80 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 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]

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 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.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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;
     │                                                   ^^^^^^^^^
     ╵
copied to clipboard

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!;
     │                                     ^^^^^^^^^
     ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/dropdown.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
Jul 21Aug 18Sep 15Oct 13Nov 10Dec 8Jan 5Feb 2Mar 2Mar 300246810121416>=0.0.0-0 <1.0.0
3
likes
80
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.06 - 2025.04.20

A new Flutter material DropdownButton Plus package.

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on dropdown_button_plus