sewa_model 0.0.9+4
sewa_model: ^0.0.9+4 copied to clipboard
Models for SEWA project, including user, product, order, etc.
We analyzed this package 3 hours ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
22 out of 404 API elements (5.4 %) 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: sewa_model, sewa_model.AppointmentRequest, sewa_model.AppointmentRequest.AppointmentRequest.fromJson, sewa_model.AppointmentRequest.AppointmentRequest.new, sewa_model.AppointmentRequest.address.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:sewa_model/sewa_model.dartthat imports:package:sewa_model/src/lab/card.dartthat imports:package:utils_widget/utils_widget.dartthat imports:package:utils_widget/src/shortener/launch.dartthat imports:package:utils_widget/src/other/functions.dartthat imports:package:rive/rive.dartthat imports:package:rive/src/widgets/rive_animation.dartthat imports:package:rive_common/math.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:sewa_model/sewa_model.dartthat imports:package:sewa_model/src/lab/card.dartthat imports:package:utils_widget/utils_widget.dartthat imports:package:utils_widget/src/shortener/logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/file_output_stub.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 28 issues. Showing the first 2:
ERROR: The method 'cardColor' isn't defined for the type 'HospitalCard'.
lib/src/hospital/card.dart:24:20
╷
24 │ colorCenter: cardColor(context),
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hospital/card.dart
ERROR: The method 'primary' isn't defined for the type 'HospitalCard'.
lib/src/hospital/card.dart:27:18
╷
27 │ colorLeft: primary(context),
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hospital/card.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
freezed_annotation |
^2.2.0 |
2.4.4 | 3.1.0 | |
glassmorphism_ui |
^0.3.0 |
0.3.0 | 0.3.0 | |
json_annotation |
^4.7.0 |
4.9.0 | 4.9.0 | |
utils_widget |
^0.0.13 |
0.0.26 | 1.0.7 | Discontinued |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
font_awesome_flutter |
- | 10.12.0 | 10.12.0 | |
google_fonts |
- | 4.0.4 | 7.0.1 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.18.0 | 0.20.2 | |
loading_icon_button |
- | 0.0.7 | 1.0.2 | |
logger |
- | 1.4.0 | 2.6.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
overlay_notification |
- | 23.5.12 | 23.5.12 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rive |
- | 0.10.4 | 0.14.0 | |
rive_common |
- | 0.0.10 | 0.4.15 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
skeleton_text |
- | 3.0.1 | 3.0.1 | |
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_io |
- | 2.3.1 | 2.3.1 | |
url_launcher |
- | 6.3.2 | 6.3.2 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^2.2.0` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
The constraint `^0.0.13` on utils_widget does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions utils_widget 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.