mon_sms_pro_auth 0.0.3
mon_sms_pro_auth: ^0.0.3 copied to clipboard
Auth screen for mon_sms_pro
We analyzed this package 23 hours ago, and awarded it 75 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 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
8 out of 44 API elements (18.2 %) 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: mon_sms_pro_auth, mon_sms_pro_auth.MonSmsProAuth, mon_sms_pro_auth.MonSmsProAuth.MonSmsProAuth.new, mon_sms_pro_auth.MonSmsProAuth.apiKey, mon_sms_pro_auth.MonSmsProAuth.appName.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The getter 'token' isn't defined for the type 'ApiResponseModel
lib/mon_sms_pro_auth.dart:117:54
╷
117 │ if (otp != null) setState(() => _token = otp.token);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mon_sms_pro_auth.dart
ERROR: A value of type 'ApiResponseModel
lib/otp_view.dart:96:30
╷
96 │ final OTPModel res = await widget.sms.otp.verify(
│ ┌──────────────────────────────^
97 │ │ VerifyOtpPayload(
98 │ │ phoneNumber: widget.phoneNumber,
99 │ │ token: widget.token,
100 │ │ otp: _controller.text,
101 │ │ ),
102 │ │ );
│ └─────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/otp_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
mon_sms_pro |
^0.0.4 |
0.0.9 | 0.2.1 | |
phone_form_field |
^10.0.4 |
10.0.17 | 10.0.17 | |
pinput |
^5.0.1 |
5.0.2 | 6.0.1 | |
slide_countdown |
^2.0.2 |
2.0.2 | 2.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
circle_flags |
- | 5.0.1 | 5.0.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
diacritic |
- | 0.1.6 | 0.1.6 | |
dio |
- | 5.9.0 | 5.9.0 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_country_selector |
- | 1.0.19 | 1.0.19 | |
flutter_svg |
- | 2.2.3 | 2.2.3 | |
glob |
- | 2.1.3 | 2.1.3 | |
hive_ce |
- | 2.19.1 | 2.19.1 | |
hive_ce_flutter |
- | 2.3.4 | 2.3.4 | |
hooks |
- | 1.0.0 | 1.0.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
isolate_channel |
- | 0.4.1 | 0.4.1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.2.4 | 9.2.4 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
pausable_timer |
- | 3.1.0+3 | 3.1.0+3 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
phone_numbers_parser |
- | 9.0.18 | 9.0.18 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_platform |
- | 1.1.0 | 1.1.0 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.20 | 1.1.20 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.0.4` on mon_sms_pro does not support the stable version `0.1.0`.
Try running dart pub upgrade --major-versions mon_sms_pro to update the constraint.
The constraint `^5.0.1` on pinput does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions pinput to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.