base_frame 1.0.0 copy "base_frame: ^1.0.0" to clipboard
base_frame: ^1.0.0 copied to clipboard

A comprehensive Flutter base architecture plugin providing BLoC pattern implementation, network handling, localization, dependency injection, and reusable UI components for rapid app development.

115/ 160
pub points
72
downloads

We analyzed this package 7 hours ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 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.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.0").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1194 out of 1651 API elements (72.3 %) 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:base_frame/api/entities/common.dart that imports:
  • package:base_frame/imports/dart_package_imports.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:base_frame/api/entities/common.dart that imports:
  • package:base_frame/imports/dart_package_imports.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:base_frame/api/entities/common.dart that imports:
  • package:base_frame/imports/dart_package_imports.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package not compatible with platform Linux

Because:

  • package:base_frame/base_frame_web.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package does not support platform `macOS`.

Because:

  • package:base_frame/api/entities/common.dart that imports:
  • package:base_frame/imports/dart_package_imports.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package not compatible with platform Web

Because:

  • package:base_frame/base_arch_controller/base_arch_controller.dart that imports:
  • package:base_frame/core/network/rest_api_client.dart that imports:
  • package:base_frame/core/logging.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:base_frame/base_arch_controller/base_arch_controller.dart that imports:
  • package:base_frame/core/network/rest_api_client.dart that imports:
  • package:base_frame/core/logging.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that 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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/base_frame/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 31 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: The constant name 'CONNECTION_TIMEOUT' isn't a lowerCamelCase identifier.

lib/core/base_constant.dart:3:20

  ╷
3 │   static const int CONNECTION_TIMEOUT = 5000;
  │                    ^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
built_value any 8.12.0 8.12.0
collection any 1.19.1 1.19.1
connectivity_plus any 7.0.0 7.0.0
dio any 5.9.0 5.9.0
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
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.1.0 9.1.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.11 0.7.11
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
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.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
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.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
xml - 6.6.1 6.6.1

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

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

Failed check 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.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
115
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter base architecture plugin providing BLoC pattern implementation, network handling, localization, dependency injection, and reusable UI components for rapid app development.

Documentation

API reference

License

MIT (license)

Dependencies

built_value, collection, connectivity_plus, dio, flutter, flutter_bloc, flutter_web_plugins, logger, plugin_platform_interface, rxdart, web

More

Packages that depend on base_frame

Packages that implement base_frame