yb_flutter_lib_core 0.0.2+3 copy "yb_flutter_lib_core: ^0.0.2+3" to clipboard
yb_flutter_lib_core: ^0.0.2+3 copied to clipboard

flutter quick core lib, like network manager、cache manager、permission manager、utils、base class...

1
likes
120/ 140
pub points
0%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

121 out of 175 API elements (69.1 %) have documentation comments.

Some symbols that are missing documentation: cache_util, cache_util.CacheUtil.clearCache, cache_util.CacheUtil.getTotalCache, fast_click_util, fast_click_util.FastClickUtil.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:yb_flutter_lib_core/yb_flutter_lib_core.dart that imports:
  • package:yb_flutter_lib_core/utils/permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
Package does not support platform `macOS`.

Because:

  • package:yb_flutter_lib_core/yb_flutter_lib_core.dart that imports:
  • package:yb_flutter_lib_core/utils/permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
Package does not support platform `Web`.

Because:

  • package:yb_flutter_lib_core/yb_flutter_lib_core.dart that imports:
  • package:yb_flutter_lib_core/utils/permission_util.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.
partial
Pass static analysis
40 / 50trigger folding of the section

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

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

lib/utils/cache_util.dart:49:11

   ╷
49 │           total += await _getTotalSizeOfFilesInDir(child);
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Empty catch block.

lib/utils/file_util.dart:22:17

   ╷
22 │     } catch (e) {}
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/file_util.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
common_utils ^2.1.0 2.1.0 2.1.0
date_format ^2.0.4 2.0.7 2.0.7
dio ^4.0.6 4.0.6 5.4.3+1
flutter flutter 0.0.0 0.0.0
logger ^1.1.0 1.4.0 2.2.0
path_provider ^2.0.9 2.1.3 2.1.3
permission_handler ^10.2.0 10.4.5 11.3.1
shared_preferences ^2.0.7 2.2.3 2.2.3
url_launcher ^6.1.5 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
decimal - 2.3.3 2.3.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
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
permission_handler_android - 10.3.6 12.0.6
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.2 2.2.2
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
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
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 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 - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

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

Found 3 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 `^1.1.0` on logger does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

flutter quick core lib, like network manager、cache manager、permission manager、utils、base class...

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

common_utils, date_format, dio, flutter, logger, path_provider, permission_handler, shared_preferences, url_launcher

More

Packages that depend on yb_flutter_lib_core