core_advn 0.0.2+25 copy "core_advn: ^0.0.2+25" to clipboard
core_advn: ^0.0.2+25 copied to clipboard

The core for flutter projects

0
likes
90/ 140
pub points
16%
popularity

We analyzed this package 9 days ago, and awarded it 90 pub points (of a possible 140):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

244 out of 428 API elements (57.0 %) have documentation comments.

Some symbols that are missing documentation: api_client, api_client.ApiClient, api_client.ApiClient.ApiClient, api_client.ApiClient.baseUrl, api_client.ApiClient.getAPI.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:core_advn/core_advn.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:core_advn/core_advn.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:core_advn/core_advn.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:core_advn/core_advn.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

INFO: Statements in a for should be enclosed in a block.

lib/common/api_client.dart:75:11

   ╷
75 │           request.files.add(_createPartFileByte(file, paramFile));
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/common/api_client.dart

INFO: Uses 'await' on an instance of 'String?', which is not a subtype of 'Future'.

lib/common/api_client.dart:121:16

    ╷
121 │     String ua =await prefs.getString('User-Agent')??'';
    │                ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/common/api_client.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_bloc 8.0.0 8.0.0 8.1.5
flutter_html 2.2.0 2.2.0 2.2.1
flutter_screenutil 5.2.0 5.2.0 5.9.0
http 0.13.3 0.13.3 1.2.1
http_parser 4.0.0 4.0.0 4.0.2
intl 0.17.0 0.17.0 0.19.0
permission_handler 9.0.2 9.0.2 11.3.1
platform_device_id 1.0.1 1.0.1 1.0.1
shared_preferences 2.0.12 2.0.12 2.2.3
timeago 3.2.2 3.2.2 3.6.1
url_launcher 6.0.10 6.0.10 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bloc - 8.1.4 8.1.4
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
chewie - 1.5.0 1.8.1
chewie_audio - 1.5.0 1.5.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
csslib - 0.17.3 1.0.0
cupertino_icons - 1.0.8 1.0.8
device_info - 2.0.3 2.0.3
device_info_platform_interface - 2.0.1 2.0.1
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_layout_grid - 1.0.6 2.0.6
flutter_math_fork - 0.5.0 0.7.2
flutter_svg - 0.23.0+1 2.0.10+1
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
js - 0.6.7 0.7.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
numerus - 1.1.1 2.2.0
path - 1.9.0 1.9.0
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.0.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
pedantic - 1.11.1 1.11.1
permission_handler_platform_interface - 3.12.0 4.2.1
petitparser - 5.4.0 6.0.2
platform - 3.1.4 3.1.4
platform_device_id_linux - 1.0.0 1.0.0
platform_device_id_macos - 1.0.0 1.0.0
platform_device_id_platform_interface - 1.0.0 1.0.0
platform_device_id_web - 1.0.0 1.0.0
platform_device_id_windows - 1.0.0 1.0.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
quiver - 3.2.1 3.2.1
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_ios - 2.1.1 2.1.1
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_macos - 2.0.5 2.0.5
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
tuple - 2.0.2 2.0.2
typed_data - 1.3.2 1.3.2
url_launcher_linux - 2.0.3 3.1.1
url_launcher_macos - 2.0.3 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 2.0.2 3.1.1
vector_math - 2.1.4 2.1.4
video_player - 2.8.6 2.8.6
video_player_android - 2.4.14 2.4.14
video_player_avfoundation - 2.5.7 2.5.7
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
wakelock - 0.6.2 0.6.2
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.1 0.2.1
web - 0.5.1 0.5.1
webview_flutter - 2.8.0 4.7.0
webview_flutter_android - 2.10.4 3.16.0
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.13.0
win32 - 3.1.4 5.4.0
xdg_directories - 1.0.4 1.0.4
xml - 5.4.1 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 10 issues. Showing the first 2:

The constraint `8.0.0` on flutter_bloc does not support the stable version `8.0.1`.

Try running dart pub upgrade --major-versions flutter_bloc to update the constraint.

The constraint `2.2.0` on flutter_html does not support the stable version `2.2.1`.

Try running dart pub upgrade --major-versions flutter_html to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.