flutter_gb_stack_base 4.0.1 copy "flutter_gb_stack_base: ^4.0.1" to clipboard
flutter_gb_stack_base: ^4.0.1 copied to clipboard

A utility package that helps develop application in a Geekbears way. This is also the base of some other packages like authentication and account

100/ 160
pub points
1.22k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

Detected license: BSD-2-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

170 out of 629 API elements (27.0 %) have documentation comments.

Some symbols that are missing documentation: actor_dependant_bloc, actor_dependant_bloc.ActorDependantBloc.ActorDependantBloc.new, actor_dependant_bloc.ActorDependantBloc.definitions, actor_dependant_bloc.ActorDependantBloc.dispatchOnDependant, actor_dependant_bloc.ActorDependantBloc.dispatchOnRepoServiceDependant.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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_gb_stack_base/flutter_gb_stack_base.dart that imports:
  • package:flutter_gb_stack_base/modules/modules.dart that imports:
  • package:flutter_gb_stack_base/modules/testing/testing.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_gb_stack_base/flutter_gb_stack_base.dart that imports:
  • package:flutter_gb_stack_base/modules/modules.dart that imports:
  • package:flutter_gb_stack_base/modules/testing/testing.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 83 issues. Showing the first 2:

WARNING: The member 'noSuchMethod' can only be used within 'package:mockito/src/mock.dart' or a test.

lib/modules/common_utils/mocks/http_client_service_mock.dart:11:81

   ╷
11 │   Future<http.Response> head(Uri? url, {Map<String, String>? headers}) => super.noSuchMethod(
   │                                                                                 ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/common_utils/mocks/http_client_service_mock.dart

WARNING: The member 'noSuchMethod' can only be used within 'package:mockito/src/mock.dart' or a test.

lib/modules/common_utils/mocks/http_client_service_mock.dart:28:80

   ╷
28 │   Future<http.Response> get(Uri? url, {Map<String, String>? headers}) => super.noSuchMethod(
   │                                                                                ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/common_utils/mocks/http_client_service_mock.dart

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

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

Package Constraint Compatible Latest Notes
built_collection ^5.1.1 5.1.1 5.1.1
built_value ^8.6.1 8.12.0 8.12.0
collection ^1.17.1 1.19.1 1.19.1
corsac_jwt ^1.0.0-nullsafety.1 1.0.1 2.0.2
dartz ^0.10.1 0.10.1 0.10.1
flutter_bloc ^8.1.3 8.1.6 9.1.1
flutter_gb_built_utils ^1.0.1 1.0.1 1.0.1
freezed_annotation ^2.4.1 2.4.4 3.1.0
get_it ^7.6.0 7.7.0 8.2.0
http ^1.0.0 1.5.0 1.5.0
logger ^2.0.1 2.6.2 2.6.2
mockito ^5.4.2 5.5.1 5.5.1
shared_preferences ^2.2.0 2.5.3 2.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 89.0.0 89.0.0
analyzer - 8.2.0 8.2.0
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
bloc - 8.1.4 9.0.1
boolean_selector - 2.1.2 2.1.2
build - 4.0.1 4.0.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
code_builder - 4.11.0 4.11.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 3.1.2 3.1.2
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
gb_flutils - 3.0.0 3.0.0
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.0 2.2.0
rsa_pkcs - 2.1.0 2.1.0
shared_preferences_android - 2.4.14 2.4.14
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_gen - 4.0.1 4.0.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
watcher - 1.1.4 1.1.4
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 4 issues. Showing the first 2:

The constraint `^1.0.0-nullsafety.1` on corsac_jwt does not support the stable version `2.0.0`.

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

The constraint `^8.1.3` on flutter_bloc does not support the stable version `9.0.0`.

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

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 42 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/modules/common_utils/application/bloc/repo_service_bloc/repo_service_bloc.freezed.dart:91:12 - The named parameter 'includeFromJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/modules/common_utils/application/bloc/repo_service_bloc/repo_service_bloc.freezed.dart:91:36 - The named parameter 'includeToJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/modules/common_utils/application/bloc/repo_service_bloc/repo_service_bloc.freezed.dart:255:12 - The named parameter 'includeFromJson' isn't defined.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
100
points
1.22k
downloads

Publisher

verified publishergeekbears.com

Weekly Downloads

A utility package that helps develop application in a Geekbears way. This is also the base of some other packages like authentication and account

Homepage

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

built_collection, built_value, collection, corsac_jwt, dartz, flutter, flutter_bloc, flutter_gb_built_utils, flutter_test, freezed_annotation, get_it, http, logger, mockito, shared_preferences

More

Packages that depend on flutter_gb_stack_base