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
110/ 140
pub points
74%
popularity

We analyzed this package 12 days ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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 593611 elements... Initialized dartdoc with 722 libraries Generating docs for library dropdown.dart from package:dropdown_button_plus/dropdown.dart... Generating docs for library dropdown_view.dart from package:dropdown_button_plus/dropdown_view.dart... Generating docs for library dropdown_plus.dart from package:dropdown_button_plus/dropdown_plus.dart... Documented 3 public libraries in 72.8 seconds ERR: warning: dropdown has no library level documentation comments from dropdown: (file:///tmp/pana_WJMHMC/lib/dropdown_plus.dart:1:9) error: file already written at "dropdown/dropdown-library.html" for symbol dropdown: (file:///tmp/pana_WJMHMC/lib/dropdown_plus.dart:1:9) conflicting with file already generated by dropdown: (file:///tmp/pana_WJMHMC/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 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 [11 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/dropdown.dart:8:23

  ╷
8 │ import 'dart:ui' show window;
  │                       ^^^^^^
  ╵

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

INFO: 'subtitle1' is deprecated and shouldn't be used. Use titleMedium instead. This feature was deprecated after v3.1.0-0.0.pre.

lib/dropdown.dart:1203:34

     ╷
1203 │   /// Defaults to the [TextTheme.subtitle1] value of the current
     │                                  ^^^^^^^^^
     ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
sky_engine - 0.0.99 0.0.99
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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

3
likes
110
pub points
74%
popularity

Publisher

unverified uploader

A new Flutter material DropdownButton Plus package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on dropdown_button_plus