flutter_base_architecture_plugin 0.0.1
flutter_base_architecture_plugin: ^0.0.1 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 25 hours ago, and awarded it 100 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
1802 out of 2447 API elements (73.6 %) 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 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_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
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:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
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:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
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 does not support platform `Linux`.
Because:
package:flutter_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
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:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_base_architecture_plugin/api/entities/common.dartthat imports:package:flutter_base_architecture_plugin/imports/dart_package_imports.dartthat imports:package:device_info_plus/device_info_plus.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 29 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/core/network/rest_api_client.dart:55:7
╷
55 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/network/rest_api_client.dart
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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_collection |
any |
5.1.1 | 5.1.1 | |
built_value |
any |
8.12.0 | 8.12.0 | |
connectivity_plus |
any |
7.0.0 | 7.0.0 | |
device_info_plus |
any |
12.2.0 | 12.2.0 | |
dio |
any |
5.9.0 | 5.9.0 | |
flutter_bloc |
any |
9.1.1 | 9.1.1 | |
flutter_styled_toast |
any |
2.2.1 | 2.2.1 | |
get_localization |
any |
3.0.0 | 3.0.0 | Discontinued |
intl |
any |
0.20.2 | 0.20.2 | |
kiwi |
any |
5.0.1 | 5.0.1 | |
logger |
any |
2.6.2 | 2.6.2 | |
package_info_plus |
any |
9.0.0 | 9.0.0 | |
rxdart |
any |
0.28.0 | 0.28.0 | |
sprintf |
any |
7.0.0 | 7.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
bloc |
- | 9.1.0 | 9.1.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- get_localization.
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 17 errors:
TYPE_TEST_WITH_UNDEFINED_NAME-lib/core/error/failures.dart:28:22- The name 'DioException' isn't defined, so it can't be used in an 'is' expression.UNDEFINED_IDENTIFIER-lib/core/error/failures.dart:30:14- Undefined name 'DioExceptionType'.UNDEFINED_IDENTIFIER-lib/core/error/failures.dart:37: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.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.