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

General library For Make Your Coding or Project More Easy

2
likes
80/ 160
pub points
37%
popularity

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

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.

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.

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.

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 603 API elements (11.1 %) 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 getter 'usbDebuggingCheck' isn't defined for the type 'SafeDevice'.

lib/flutter/device/device_core.dart:92:33

   ╷
92 │         return await SafeDevice.usbDebuggingCheck;
   │                                 ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter/device/device_core.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

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

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

Package Constraint Compatible Latest
battery_plus ^6.0.3 6.0.3 6.0.3
camera ^0.11.0+2 0.11.0+2 0.11.0+2
camera_windows ^0.2.5 0.2.5 0.2.5
collection any 1.18.0 1.19.0
desktop_notifications ^0.6.3 0.6.3 0.6.3
file_picker ^8.1.2 8.1.2 8.1.2
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.0.2 4.0.2 4.0.2
gamepads ^0.1.2 0.1.2 0.1.2
general_lib ^0.0.46 0.0.46 0.0.46
general_lib_flutter ^0.0.27 0.0.27 0.0.27
html any 0.15.4 0.15.4
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.0 1.9.0
permission_handler ^11.3.1 11.3.1 11.3.1
safe_device ^1.1.8 1.1.9 1.1.9
sim_card_info ^1.0.2 1.0.2 1.0.2
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.8 1.2.8
yaml ^3.1.2 3.1.2 3.1.2
yaml_writer ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
asn1lib - 1.5.5 1.5.6
async - 2.11.0 2.11.0
battery_plus_platform_interface - 2.0.1 2.0.1
camera_android_camerax - 0.6.9 0.6.9
camera_avfoundation - 0.9.17+3 0.9.17+3
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
convert - 3.1.1 3.1.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.5 3.0.5
csslib - 1.0.0 1.0.0
dbus - 0.7.10 0.7.10
encrypt - 5.0.3 5.0.3
ffi - 2.1.3 2.1.3
fixnum - 1.1.0 1.1.0
flutter_plugin_android_lifecycle - 2.0.22 2.0.22
flutter_web_plugins - 0.0.0 0.0.0
gamepads_android - 0.1.2 0.1.2
gamepads_darwin - 0.1.2 0.1.2
gamepads_ios - 0.1.2 0.1.2
gamepads_linux - 0.1.1+1 0.1.1+1
gamepads_platform_interface - 0.1.1 0.1.1
gamepads_windows - 0.1.1+1 0.1.1+1
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.0
image - 4.2.0 4.2.0
intl - 0.19.0 0.19.0
io - 1.0.4 1.0.4
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
local_auth_android - 1.0.45 1.0.45
local_auth_darwin - 1.4.1 1.4.1
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.0.2 8.0.2
package_info_plus_platform_interface - 3.0.1 3.0.1
pedantic - 1.11.1 1.11.1
permission_handler_android - 12.0.12 12.0.12
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+2 0.1.3+2
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
safe_local_storage - 1.0.2 2.0.1
screen_brightness - 0.2.2+1 1.0.1
screen_brightness_android - 0.1.0+2 1.0.1
screen_brightness_ios - 0.1.0 1.0.1
screen_brightness_macos - 0.1.0+1 1.0.1
screen_brightness_platform_interface - 0.1.0 1.0.1
screen_brightness_windows - 0.1.3 1.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
speech_to_text_platform_interface - 2.2.0 2.2.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_transform - 2.1.0 2.1.0
string_scanner - 1.3.0 1.3.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_platform - 1.1.0 1.1.0
upower - 0.7.0 0.7.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.5.5 5.5.5
xml - 6.5.0 6.5.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.