flutter_base_architecture_plugin 0.0.2
flutter_base_architecture_plugin: ^0.0.2 copied to clipboard
A robust and scalable Flutter plugin that provides a solid foundation for building production-ready apps. Includes API calls, BLoC state management, navigation, dependency injection, and localization [...]
We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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.
10/10 points: 20% or more of the public API has dartdoc comments
1201 out of 1601 API elements (75.0 %) have documentation comments.
Some symbols that are missing documentation: api_imports, app_routes_service, app_routes_service.AppRoutesService, app_routes_service.AppRoutesService.AppRoutesService.new, app_routes_service.AppRoutesService.isAuthenticated.
10/10 points: Package has an example
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:flutter_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:flutter_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:flutter_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package not compatible with platform Linux
Because:
package:flutter_base_architecture_plugin/flutter_base_architecture_plugin_web.dartthat imports:package:web/web.dartthat imports:package:web/src/helpers.dartthat imports:package:web/src/helpers/http.dartthat imports:package:web/src/helpers/events/events.dartthat imports:package:web/src/helpers/events/streams.dartthat imports:package:web/src/dom.dartthat imports:package:web/src/dom/xhr.dartthat imports:package:web/src/dom/html.dartthat imports:package:web/src/dom/webmidi.dartthat imports:package:web/src/dom/hr_time.dartthat imports:package:web/src/dom/user_timing.dartthat imports:package:web/src/dom/performance_timeline.dartthat imports:dart:js_interop
Package does not support platform `macOS`.
Because:
package:flutter_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package not compatible with platform Web
Because:
package:flutter_base_architecture_plugin/base_arch_controller/base_arch_controller.dartthat imports:package:flutter_base_architecture_plugin/core/network/rest_api_client.dartthat imports:package:flutter_base_architecture_plugin/core/logging.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_base_architecture_plugin/base_arch_controller/base_arch_controller.dartthat imports:package:flutter_base_architecture_plugin/core/network/rest_api_client.dartthat imports:package:flutter_base_architecture_plugin/core/logging.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/flutter_base_architecture_plugin/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
INFO: The type parameter name 'State' matches a visible type name.
lib/core/base_bloc.dart:7:32
╷
7 │ abstract class BaseBloc<Event, State> extends Bloc<Event, State> {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/base_bloc.dart
INFO: Missing type annotation.
lib/core/network/rest_api_client.dart:76:3
╷
76 │ _init() => _dio.interceptors.addAll([
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/network/rest_api_client.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_value |
any |
8.12.3 | 8.12.3 | |
collection |
any |
1.19.1 | 1.19.1 | |
connectivity_plus |
any |
7.0.0 | 7.0.0 | |
dio |
any |
5.9.1 | 5.9.1 | |
flutter_bloc |
any |
9.1.1 | 9.1.1 | |
logger |
any |
2.6.2 | 2.6.2 | |
plugin_platform_interface |
any |
2.1.8 | 2.1.8 | |
rxdart |
any |
0.28.0 | 0.28.0 | |
sprintf |
any |
7.0.0 | 7.0.0 | |
web |
any |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
bloc |
- | 9.2.0 | 9.2.0 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
dbus |
- | 0.7.12 | 0.7.12 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.1 |
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 18 errors:
TYPE_TEST_WITH_UNDEFINED_NAME-lib/core/error/failures.dart:36:22- The name 'DioException' isn't defined, so it can't be used in an 'is' expression.UNDEFINED_IDENTIFIER-lib/core/error/failures.dart:38:14- Undefined name 'DioExceptionType'.UNDEFINED_IDENTIFIER-lib/core/error/failures.dart:45:14- Undefined name 'DioExceptionType'.
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.23.9, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.