flutter_bloc_basic 0.0.2 icon indicating copy to clipboard operation
flutter_bloc_basic: ^0.0.2 copied to clipboard

基于Dloc的Flutter开发框架

0
likes
65/ 140
pub points
0%
popularity

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

icon indicating section status
Follow Dart file conventions
15 / 30icon to trigger 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.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/moon-motorcycle/flutter_bloc_basic was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 51 out of 224 API elements (22.8 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_bloc_basic/flutter_bloc_basic.dart that imports:
  • package:flutter_bloc_basic/utils/log_util.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
10 / 30icon to trigger folding of the section

10/30 points: code has no errors, warnings, lints, or formatting issues

Found 27 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/utils/screen/binding.dart:22:35

   ╷
22 │     return WidgetsBinding.instance!;
   │                                   ^
   ╵

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

INFO: The import of 'package:fluro/fluro.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter_bloc_basic/flutter_bloc_basic.dart'.

lib/basic/base_app.dart:1:8

  ╷
1 │ import 'package:fluro/fluro.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
audioplayers^0.20.10.20.13.0.1
bloc^7.2.17.2.18.1.1
cached_network_image^3.1.0+13.2.33.2.3
chewie^1.2.21.4.01.4.0
dio^4.0.34.0.65.0.3
equatable^2.0.32.0.52.0.5
fluro^2.0.32.0.52.0.5
flutterflutter0.0.00.0.0
flutter_bloc^7.1.07.3.38.1.2
flutter_smart_dialog^3.0.23.5.04.9.0+4
flutter_swiper^1.1.61.1.61.1.6
fluttertoast^8.0.88.2.18.2.1
logger^1.1.01.3.01.3.0
pretty_dio_logger^1.1.11.2.0-beta-11.3.1
pull_to_refresh^2.0.02.0.02.0.0
shared_preferences^2.0.82.0.182.0.18
video_player^2.2.72.6.02.6.0
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.11.02.11.0
cached_network_image_platform_interface-2.0.02.0.0
cached_network_image_web-1.0.21.0.2
characters-1.2.11.3.0
clock-1.1.11.1.1
collection-1.17.01.17.1
crypto-3.0.23.0.2
csslib-0.17.20.17.2
cupertino_icons-1.0.51.0.5
ffi-2.0.12.0.1
file-6.1.46.1.4
flutter_blurhash-0.7.00.7.0
flutter_cache_manager-3.3.03.3.0
flutter_page_indicator-0.0.30.0.3
flutter_web_plugins-0.0.00.0.0
html-0.15.20.15.2
http-0.13.50.13.5
http_parser-4.0.24.0.2
js-0.6.50.6.7
material_color_utilities-0.2.00.3.0
meta-1.8.01.9.0
nested-1.0.01.0.0
octo_image-1.0.21.0.2
path-1.8.31.8.3
path_provider-2.0.132.0.13
path_provider_android-2.0.242.0.24
path_provider_foundation-2.2.02.2.0
path_provider_linux-2.1.102.1.10
path_provider_platform_interface-2.0.62.0.6
path_provider_windows-2.1.52.1.5
pedantic-1.11.11.11.1
platform-3.1.03.1.0
plugin_platform_interface-2.1.42.1.4
process-4.2.44.2.4
provider-6.0.56.0.5
rxdart-0.27.70.27.7
shared_preferences_android-2.0.172.0.17
shared_preferences_foundation-2.1.52.1.5
shared_preferences_linux-2.1.52.1.5
shared_preferences_platform_interface-2.1.12.1.1
shared_preferences_web-2.0.62.0.6
shared_preferences_windows-2.1.52.1.5
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
sqflite-2.2.62.2.6
sqflite_common-2.4.32.4.3
string_scanner-1.2.01.2.0
synchronized-3.0.13.0.1
term_glyph-1.2.11.2.1
transformer_page_view-0.1.60.1.6
typed_data-1.3.11.3.1
uuid-3.0.73.0.7
vector_math-2.1.42.1.4
video_player_android-2.4.22.4.2
video_player_avfoundation-2.4.22.4.2
video_player_platform_interface-6.1.06.1.0
video_player_web-2.0.152.0.15
wakelock-0.6.20.6.2
wakelock_macos-0.4.00.4.0
wakelock_platform_interface-0.3.00.3.0
wakelock_web-0.4.00.4.0
wakelock_windows-0.2.10.2.1
win32-3.1.34.1.1
xdg_directories-1.0.01.0.0

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

Found 5 issues. Showing the first 2:

The constraint `^0.20.1` on audioplayers does not support the stable version `1.0.0`.

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

The constraint `^7.2.1` on bloc does not support the stable version `8.0.0`.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Null safety support has one or more issues.

Package is not null safe

Because:

  • flutter_bloc_basic that depends on:
  • flutter_swiper that doesn't opt in to null safety
For more information

Try running dart pub outdated --mode=null-safety. Be sure to read the migration guide.

Analysed with Pana 0.21.27, Flutter 3.7.7, Dart 2.19.4.