supa_architecture 1.13.4 copy "supa_architecture: ^1.13.4" to clipboard
supa_architecture: ^1.13.4 copied to clipboard

Architecture library for Supa Flutter applications

135/ 160
pub points
477
downloads

We analyzed this package 4 days ago, and awarded it 135 pub points (of a possible 160):

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.supa.vn was unreachable. Make sure that the website is reachable via HEAD requests.

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.13.4").

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

1264 out of 1896 API elements (66.7 %) have documentation comments.

Some symbols that are missing documentation: admin_type, admin_type.AdminType.AdminType.new, api_client, api_client.ApiClient.cookieStorage, api_client.ApiClient.persistentStorage.

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:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/repositories/repositories.dart that imports:
  • package:supa_architecture/repositories/utils_notification_repository.dart that imports:
  • package:supa_architecture/repositories/base_repository.dart that imports:
  • package:supa_architecture/api_client/api_client.dart that imports:
  • package:supa_architecture/api_client/interceptors/refresh_interceptor.dart that imports:
  • package:supa_architecture/repositories/portal_authentication_repository.dart that imports:
  • package:supa_architecture/api_client/dio_interceptor.dart that imports:
  • package:supa_architecture/supa_architecture_platform_interface.dart that imports:
  • package:supa_architecture/core/device_info.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/repositories/repositories.dart that imports:
  • package:supa_architecture/repositories/utils_notification_repository.dart that imports:
  • package:supa_architecture/repositories/base_repository.dart that imports:
  • package:supa_architecture/api_client/api_client.dart that imports:
  • package:supa_architecture/api_client/interceptors/refresh_interceptor.dart that imports:
  • package:supa_architecture/repositories/portal_authentication_repository.dart that imports:
  • package:supa_architecture/api_client/dio_interceptor.dart that imports:
  • package:supa_architecture/supa_architecture_platform_interface.dart that imports:
  • package:supa_architecture/core/device_info.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/services/services.dart that imports:
  • package:supa_architecture/services/file_handler.dart that imports:
  • package:supa_architecture/services/file_handler_io.dart that imports:
  • package:open_filex/open_filex.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/services/services.dart that imports:
  • package:supa_architecture/services/file_handler.dart that imports:
  • package:supa_architecture/services/file_handler_io.dart that imports:
  • package:open_filex/open_filex.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/services/services.dart that imports:
  • package:supa_architecture/services/file_handler.dart that imports:
  • package:supa_architecture/services/file_handler_io.dart that imports:
  • package:open_filex/open_filex.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/services/services.dart that imports:
  • package:supa_architecture/services/file_service.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/app_image.dart that imports:
  • package:supa_architecture/core/cookie_manager/cookie_manager.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/supa_architecture/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 6 issues. Showing the first 2:

INFO: Missing type annotation.

lib/json/json_list.dart:154:12

    ╷
154 │   operator [](int index) {
    │            ^^
    ╵

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

INFO: Missing type annotation.

lib/json/json_list.dart:184:12

    ╷
184 │   operator []=(int index, value) {
    │            ^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
aad_oauth ^1.0.1 1.0.1 1.0.1
bloc ^9.1.0 9.1.0 9.1.0
device_info_plus ^11.3.0 11.5.0 12.3.0
dio ^5.7.0 5.9.0 5.9.0
equatable ^2.0.7 2.0.7 2.0.7
file_picker ^10.3.3 10.3.8 10.3.8
firebase_core ^4.3.0 4.3.0 4.3.0
firebase_crashlytics ^5.0.6 5.0.6 5.0.6
firebase_messaging ^16.1.0 16.1.0 16.1.0
flutter_bloc ^9.1.1 9.1.1 9.1.1
flutter_dotenv ^5.2.1 5.2.1 6.0.0
flutter_secure_storage ^9.2.2 9.2.4 10.0.0
flutter_timezone ^5.0.1 5.0.1 5.0.1
get_it ^8.3.0 8.3.0 9.2.0
go_router ^15.1.3 15.1.3 17.0.1
google_sign_in ^6.3.0 6.3.0 7.2.0
hive ^2.2.3 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
image_picker ^1.2.0 1.2.1 1.2.1
infinite_scroll_pagination ^4.1.0 4.1.0 5.1.1
injectable ^2.5.1 2.7.1+4 2.7.1+4
intl any 0.20.2 0.20.2
local_auth ^2.3.0 2.3.0 3.0.0
open_filex ^4.7.0 4.7.0 4.7.0
package_info_plus ^8.3.1 8.3.1 9.0.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.5 2.1.5 2.1.5
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
reactive_forms ^17.0.1 17.0.1 18.2.2
sign_in_with_apple ^6.1.4 6.1.4 7.0.1
supa_carbon_icons ^0.2.0 0.2.0 0.2.0
url_launcher ^6.3.2 6.3.2 6.3.2
web ^1.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.65 1.3.65
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
dartz - 0.10.1 0.10.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
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
firebase_core_platform_interface - 6.0.2 6.0.2
firebase_core_web - 3.3.1 3.3.1
firebase_crashlytics_platform_interface - 3.8.16 3.8.16
firebase_messaging_platform_interface - 4.7.5 4.7.5
firebase_messaging_web - 4.1.1 4.1.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 3.1.2 4.1.0
flutter_staggered_grid_view - 0.7.0 0.7.0
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.7
google_sign_in_ios - 5.9.0 6.2.4
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
js - 0.6.7 0.7.2 Discontinued
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
local_auth_android - 1.0.56 2.0.4
local_auth_darwin - 1.6.1 2.0.1
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.1
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
provider - 6.1.5+1 6.1.5+1
shared_preferences - 2.5.4 2.5.4
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
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
sign_in_with_apple_platform_interface - 1.1.0 2.0.0
sign_in_with_apple_web - 2.1.1 3.0.0
sliver_tools - 0.2.12 0.2.12
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.7 0.7.8
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
webview_flutter - 4.13.0 4.13.0
webview_flutter_android - 4.10.11 4.10.11
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.23.5 3.23.5
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 11 issues. Showing the first 2:

The constraint `^11.3.0` on device_info_plus does not support the stable version `12.0.0`.

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

The constraint `^5.2.1` on flutter_dotenv does not support the stable version `6.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: