teta_cms 0.3.5
teta_cms: ^0.3.5 copied to clipboard
The Dart client for Teta CMS. Our mission is to help people build amazing products.
We analyzed this package 11 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Documentation URL doesn't exist.
At the time of the analysis https://teta.so/flutter-docs was unreachable. Make sure that the website is reachable via HEAD requests.
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-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
127 out of 274 API elements (46.4 %) have documentation comments.
Some symbols that are missing documentation: teta_cms, teta_cms.CollectionObject, teta_cms.CollectionObject.CollectionObject.fromJson, teta_cms.CollectionObject.CollectionObject.new, teta_cms.CollectionObject.copyWith.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:path_provider_ios/path_provider_ios.dartthat declares support for platforms:iOS.
Package does not support platform `iOS`.
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:path_provider_android/path_provider_android.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:teta_cms/src/di/injector.dartthat imports:package:teta_cms/src/di/injector.config.dartthat imports:package:teta_cms/src/auth.dartthat imports:package:uni_links/uni_links.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:teta_cms/src/di/injector.dartthat imports:package:teta_cms/src/di/injector.config.dartthat imports:package:teta_cms/src/auth.dartthat imports:package:uni_links/uni_links.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:teta_cms/src/di/injector.dartthat imports:package:teta_cms/src/di/injector.config.dartthat imports:package:teta_cms/src/auth.dartthat imports:package:uni_links/uni_links.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:path_provider_ios/path_provider_ios.dartthat declares support for platforms:iOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:teta_cms/teta_cms.dartthat imports:package:teta_cms/src/instance.dartthat imports:package:path_provider_ios/path_provider_ios.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 367 issues. Showing the first 2:
WARNING: The declaration '_countHeader' isn't referenced.
lib/src/database.dart:36:27
╷
36 │ Map<String, String> get _countHeader => {'cms-count-only': '1'};
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/database.dart
WARNING: The declaration '_getDefaultHeadersForNameEndpoints' isn't referenced.
lib/src/database.dart:62:27
╷
62 │ Map<String, String> get _getDefaultHeadersForNameEndpoints {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/database.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
enum_to_string |
^2.0.1 |
2.2.1 | 2.2.1 | |
equatable |
^2.0.3 |
2.0.7 | 2.0.7 | |
get_it |
^7.2.0 |
7.7.0 | 9.2.0 | |
hive |
^2.2.2 |
2.2.3 | 2.2.3 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
injectable |
^1.5.3 |
1.5.4 | 2.7.1+4 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 | |
path_provider_android |
^2.0.15 |
2.2.22 | 2.2.22 | |
path_provider_ios |
^2.0.10 |
2.0.11 | 2.0.11 | Discontinued |
socket_io_client |
^2.0.0 |
2.0.3+1 | 3.1.3 | |
uni_links |
^0.5.1 |
0.5.1 | 0.5.1 | Discontinued |
universal_html |
^2.0.8 |
2.3.0 | 2.3.0 | |
universal_platform |
^1.0.0+1 |
1.1.0 | 1.1.0 | |
url_launcher |
^6.1.4 |
6.3.2 | 6.3.2 | |
uuid |
^3.0.6 |
3.0.7 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
socket_io_common |
- | 2.0.3 | 3.1.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 | |
uni_links_platform_interface |
- | 1.0.0 | 1.0.0 | |
uni_links_web |
- | 0.1.0 | 0.1.0 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
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 7 issues. Showing the first 2:
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio to update the constraint.
The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.