tunaf_country_code 0.0.1
tunaf_country_code: ^0.0.1 copied to clipboard
This package base on country_code_picker, A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search usin [...]
We analyzed this package 3 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 82 API elements (32.9 %) have documentation comments.
Some symbols that are missing documentation: country_code, country_code.CountryCode.CountryCode.fromCountryCode, country_code.CountryCode.CountryCode.fromDialCode, country_code.CountryCode.CountryCode.fromJson, country_code.CountryCode.CountryCode.new.
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:tunaf_country_code/country_code.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:tunaf_country_code/country_code.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:tunaf_country_code/country_code.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:tunaf_country_code/country_code.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
ERROR: The getter 'button' isn't defined for the type 'TextTheme'.
lib/country_code_picker.dart:203:73
╷
203 │ widget.textStyle ?? Theme.of(context).textTheme.button,
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/country_code_picker.dart
INFO: The import of 'package:flutter/foundation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.
lib/country_code_picker.dart:7:8
╷
7 │ import 'package:flutter/foundation.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/country_code_picker.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
modal_bottom_sheet |
^2.0.0 |
2.1.2 | 3.0.0 | |
tiengviet |
^0.5.0 |
0.5.0 | 1.0.0 | |
universal_platform |
^1.0.0+1 |
1.1.0 | 1.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.0` on modal_bottom_sheet does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions modal_bottom_sheet to update the constraint.
The constraint `^0.5.0` on tiengviet does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions tiengviet 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 1 error:
UNDEFINED_GETTER-lib/country_code_picker.dart:203:73- The getter 'button' isn't defined for the type 'TextTheme'.
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.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.