flutter_bloc_basic 0.0.2
flutter_bloc_basic: ^0.0.2 copied to clipboard
基于Dloc的Flutter开发框架
We analyzed this package 2 days ago, and awarded it 65 pub points (of a possible 140):
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
.
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.
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
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
audioplayers | ^0.20.1 | 0.20.1 | 3.0.1 |
bloc | ^7.2.1 | 7.2.1 | 8.1.1 |
cached_network_image | ^3.1.0+1 | 3.2.3 | 3.2.3 |
chewie | ^1.2.2 | 1.4.0 | 1.4.0 |
dio | ^4.0.3 | 4.0.6 | 5.0.3 |
equatable | ^2.0.3 | 2.0.5 | 2.0.5 |
fluro | ^2.0.3 | 2.0.5 | 2.0.5 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_bloc | ^7.1.0 | 7.3.3 | 8.1.2 |
flutter_smart_dialog | ^3.0.2 | 3.5.0 | 4.9.0+4 |
flutter_swiper | ^1.1.6 | 1.1.6 | 1.1.6 |
fluttertoast | ^8.0.8 | 8.2.1 | 8.2.1 |
logger | ^1.1.0 | 1.3.0 | 1.3.0 |
pretty_dio_logger | ^1.1.1 | 1.2.0-beta-1 | 1.3.1 |
pull_to_refresh | ^2.0.0 | 2.0.0 | 2.0.0 |
shared_preferences | ^2.0.8 | 2.0.18 | 2.0.18 |
video_player | ^2.2.7 | 2.6.0 | 2.6.0 |
Transitive dependencies
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
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
.