general 0.0.32 copy "general: ^0.0.32" to clipboard
general: ^0.0.32 copied to clipboard

General library For Make Your Coding or Project More Easy

3
likes
55/ 160
pub points
808
downloads

We analyzed this package 19 hours ago, and awarded it 55 pub points (of a possible 160):

failed
Follow Dart file conventions
5 / 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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/azkadev/general/issues was unreachable. Make sure that the website is reachable via HEAD requests.

0/5 points: Provide a valid README.md

No `README.md` found.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

67 out of 620 API elements (10.8 %) 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: api, api.GeneralLibraryApi.general_library_docs, api.GeneralLibraryApiStatus, api.GeneralLibraryApiStatus.GeneralLibraryApiStatus, api.GeneralLibraryApiStatus.serverUniverseApiStatusType.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:general/cli/cli.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:general/cli/cli.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:general/flutter/app_background/app_background.dart that imports:
  • package:general/flutter/app_background/app_background_core.dart that imports:
  • package:flutter_background/flutter_background.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:general/cli/cli.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:general/cli/cli.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:general/api/api.dart that imports:
  • package:general_lib/general_lib.dart that imports:
  • package:general_lib/utils/utils.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

ERROR: The method 'player' isn't defined for the type 'GeneralLibrary'.

bin/player.dart:6:52

  ╷
6 │   GeneralLibraryPlayerBase player = generalLibrary.player();
  │                                                    ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/player.dart

INFO: The variable name 'text_to_speech' isn't a lowerCamelCase identifier.

bin/text_to_speech.dart:4:34

  ╷
4 │   GeneralLibraryTextToSpeechBase text_to_speech =
  │                                  ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/text_to_speech.dart

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

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

Package Constraint Compatible Latest
camera ^0.11.0+2 0.11.0+2 0.11.0+2
camera_windows ^0.2.6+1 0.2.6+1 0.2.6+1
collection ^1.18.0 1.19.0 1.19.1
file_picker ^8.1.4 8.1.6 8.1.6
flutter flutter 0.0.0 0.0.0
flutter_background ^1.3.0+1 1.3.0+1 1.3.0+1
flutter_tts ^4.2.0 4.2.0 4.2.0
general_lib ^0.0.49 0.0.49 0.0.49
general_lib_flutter ^0.0.30 0.0.30 0.0.30
html any 0.15.5 0.15.5
image ^4.3.0 4.3.0 4.5.2
local_auth ^2.3.0 2.3.0 2.3.0
mason_logger ^0.3.1 0.3.1 0.3.1
media_kit ^1.1.1 1.1.11 1.1.11
media_kit_video ^1.2.5 1.2.5 1.2.5
path ^1.9.0 1.9.1 1.9.1
permission_handler ^11.3.1 11.3.1 11.3.1
speech_to_text ^7.0.0 7.0.0 7.0.0
universal_io ^2.2.2 2.2.2 2.2.2
wakelock_plus ^1.2.8 1.2.9 1.2.9
yaml ^3.1.2 3.1.3 3.1.3
yaml_writer ^2.0.1 2.0.1 2.0.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
camera_android_camerax - 0.6.10+1 0.6.10+1
camera_avfoundation - 0.9.17+5 0.9.17+5
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.10 0.7.10
encrypt - 5.0.3 5.0.3
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.19.0 0.20.1
io - 1.0.5 1.0.5
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
local_auth_android - 1.0.46 1.0.46
local_auth_darwin - 1.4.2 1.4.2
local_auth_platform_interface - 1.0.10 1.0.10
local_auth_windows - 1.0.11 1.0.11
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus - 8.1.2 8.1.2
package_info_plus_platform_interface - 3.0.2 3.0.2
pedantic - 1.11.1 1.11.1
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
qr - 3.0.2 3.0.2
safe_local_storage - 1.0.2 2.0.1
screen_brightness - 0.2.2+1 2.0.1
screen_brightness_android - 0.1.0+2 2.0.0
screen_brightness_ios - 0.1.0 2.0.0
screen_brightness_macos - 0.1.0+1 2.0.0
screen_brightness_platform_interface - 0.1.0 2.0.0
screen_brightness_windows - 0.1.3 2.0.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
speech_to_text_platform_interface - 2.3.0 2.3.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_platform - 1.1.0 1.1.0
uri_parser - 2.0.2 3.0.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
volume_controller - 2.0.8 2.0.8
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xml - 6.5.0 6.5.0
zxing2 - 0.2.3 0.2.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_METHOD - bin/player.dart:6:52 - The method 'player' isn't defined for the type 'GeneralLibrary'.

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.