shared_code 0.0.5
shared_code: ^0.0.5 copied to clipboard
This is the shared code in the shiaka projects
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 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: shared_code.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: shared_code, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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
Could not run dartdoc: Exception: -9
<***>
Resolving dependencies...
Downloading packages...
-
_fe_analyzer_shared 92.0.0 (93.0.0 available)
-
analyzer 9.0.0 (10.0.0 available)
-
args 2.7.0
-
async 2.13.0
-
collection 1.19.1
-
convert 3.1.2
-
crypto 3.0.7
-
csslib 1.0.2
-
dartdoc 9.0.1
-
file 7.0.1
-
glob 2.1.3
-
html 0.15.6
-
logging 1.3.0
-
markdown 7.3.0
-
meta 1.18.0
-
package_config 2.2.0
-
path 1.9.1
-
pub_semver 2.2.0
-
source_span 1.10.1
-
string_scanner 1.4.1
-
term_glyph 1.2.2
-
typed_data 1.4.0
-
watcher 1.2.1
-
yaml 3.1.3 Building package executables... Built dartdoc:dartdoc. Installed executable dartdoc. Activated dartdoc 9.0.1. <***> Exceeded timeout of 0:02:00.000000 Warning: Pub installs executables into /tmp/analyzerKCMRSI/pub-cache/bin, which is not on your path. You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, .zshrc etc.):
export PATH="$PATH":"/tmp/analyzerKCMRSI/pub-cache/bin"
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 7 issues. Showing the first 2:
ERROR: The getter 'errorColor' isn't defined for the type 'ThemeData'.
lib/shared_code/constants/styles.dart:62:28
╷
62 │ return Theme.of(context).errorColor;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/shared_code/constants/styles.dart
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.
lib/shared_code/converters/color_converter.dart:16:19
╷
16 │ return object.value.toDouble().toString();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/shared_code/converters/color_converter.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cached_network_image |
^3.3.1 |
3.4.1 | 3.4.1 | |
flutter_svg |
^2.0.7 |
2.2.3 | 2.2.3 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
image_picker |
^1.0.7 |
1.2.1 | 1.2.1 | |
image_picker_platform_interface |
^2.9.3 |
2.11.1 | 2.11.1 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
shimmer |
^3.0.0 |
3.0.0 | 3.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 0.19.10 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
file_selector_linux |
- | 0.9.4 | 0.9.4 | |
file_selector_macos |
- | 0.9.5 | 0.9.5 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+5 | 0.9.3+5 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 0.20.5 | 1.0.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.13+10 | 0.8.13+10 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+3 | 0.8.13+3 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
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.2 | 0.17.4 | |
objective_c |
- | 9.2.2 | 9.2.2 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
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.
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/shared_code/constants/styles.dart:62:28- 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.23.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.