region_and_country_dropdown 0.0.2 region_and_country_dropdown: ^0.0.2 copied to clipboard
Region and country flutter dropdown package
We analyzed this package 3 days ago, and awarded it 60 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
4 out of 89 API elements (4.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: country_dropdown
, country_dropdown.CountryDropdown
, country_dropdown.CountryDropdown.CountryDropdown
, country_dropdown.CountryDropdown.boxDecoration
, country_dropdown.CountryDropdown.emptyBuilder
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:region_and_country_dropdown/models/country_model.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:region_and_country_dropdown/models/country_model.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:region_and_country_dropdown/models/country_model.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:region_and_country_dropdown/models/country_model.dart
that declares support for platforms:Android
,iOS
.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The getter 'errorColor' isn't defined for the type 'ThemeData'.
lib/widgets/country_dropdown.dart:73:55
╷
73 │ style: TextStyle(color: Theme.of(context).errorColor),
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/country_dropdown.dart
ERROR: The getter 'errorColor' isn't defined for the type 'ThemeData'.
lib/widgets/region_dropdown.dart:61:58
╷
61 │ style: TextStyle(color: Theme.of(context).errorColor),
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/region_dropdown.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
find_dropdown |
^1.0.0 |
1.0.0 | 1.0.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_svg |
^1.1.5 |
1.1.6 | 2.0.10+1 |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
uuid |
^3.0.6 |
3.0.7 | 4.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
path_drawing |
- | 1.0.1 | 1.0.1 |
path_parsing |
- | 1.0.1 | 1.0.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
select_dialog |
- | 2.0.1 | 2.0.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.1.5` on flutter_svg does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_svg
to update the constraint.
The constraint `^3.0.6` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid
to update the constraint.
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/widgets/country_dropdown.dart:73:55
- The getter 'errorColor' isn't defined for the type 'ThemeData'.UNDEFINED_GETTER
-lib/widgets/region_dropdown.dart:61:58
- The getter 'errorColor' isn't defined for the type 'ThemeData'.UNDEFINED_GETTER
-lib/widgets/region_dropdown.dart:98:57
- The getter 'errorColor' 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.5
, Flutter 3.22.1
, Dart 3.4.1
.
Check the analysis log for details.