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

Architecture library for Supa Flutter applications

2
likes
120/ 160
pub points
304
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 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

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

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

949 out of 1525 API elements (62.2 %) have documentation comments.

Some symbols that are missing documentation: admin_type, admin_type.AdminType, admin_type.AdminType.AdminType.new, admin_type_filter, admin_type_filter.AdminTypeFilter.

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/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.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/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.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/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `macOS`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:supa_architecture/supa_architecture.dart that imports:
  • package:supa_architecture/widgets/widgets.dart that imports:
  • package:supa_architecture/widgets/atoms/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, 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/biometric_login_button.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.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

INFO: Angle brackets will be interpreted as HTML.

lib/blocs/push_notification/push_notification_state.dart:10:14

   ╷
10 │   /// - A Map<String, dynamic> representing the state in JSON format.
   │              ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/blocs/push_notification/push_notification_state.dart

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

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

Package Constraint Compatible Latest Notes
aad_oauth ^1.0.0 1.0.1 1.0.1
bloc ^9.0.0 9.0.0 9.0.0
cookie_jar ^4.0.0 4.0.8 4.0.8
device_info_plus ^11.0.0 11.3.3 11.3.3
dio ^5.7.0 5.8.0+1 5.8.0+1
dio_cookie_manager ^3.1.0 3.2.0 3.2.0
equatable ^2.0.0 2.0.7 2.0.7
file_picker ^8.1.0 8.3.7 10.1.2
firebase_core ^3.6.0 3.13.0 3.13.0
firebase_crashlytics ^4.1.0 4.3.5 4.3.5
firebase_messaging ^15.1.0 15.2.5 15.2.5
firebase_performance ^0.10.0 0.10.1+5 0.10.1+5
flutter_bloc ^9.0.0 9.1.0 9.1.0
flutter_dotenv ^5.0.0 5.2.1 5.2.1
flutter_secure_storage ^9.2.0 9.2.4 9.2.4
get_it ^7.7.0 7.7.0 8.0.3
go_router ^14.0.0 14.8.1 15.1.0
google_sign_in ^6.0.0 6.3.0 6.3.0
hive ^2.2.0 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
image_picker ^1.1.0 1.1.2 1.1.2
infinite_scroll_pagination ^4.1.0 4.1.0 5.0.0
injectable ^2.4.0 2.5.0 2.5.0
intl ^0.19.0 0.19.0 0.20.2
local_auth ^2.0.0 2.3.0 2.3.0
package_info_plus ^8.0.0 8.3.0 8.3.0
path ^1.0.0 1.9.1 1.9.1
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
reactive_forms ^17.0.0 17.0.1 17.0.1
sentry_flutter ^8.9.0 8.14.2 8.14.2
sign_in_with_apple ^6.0.0 6.1.4 7.0.1
supa_carbon_icons ^0.0.1+6 0.0.1+6 0.0.1+6
url_launcher ^6.0.0 6.3.1 6.3.1
web ^1.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.54 1.3.54
async - 2.12.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dartz - 0.10.1 0.10.1
device_info_plus_platform_interface - 7.0.2 7.0.2
dio_web_adapter - 2.1.1 2.1.1
fake_async - 1.3.2 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.22.0 2.22.0
firebase_crashlytics_platform_interface - 3.8.5 3.8.5
firebase_messaging_platform_interface - 4.6.5 4.6.5
firebase_messaging_web - 3.10.5 3.10.5
firebase_performance_platform_interface - 0.1.5+5 0.1.5+5
firebase_performance_web - 0.1.7+11 0.1.7+11
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
flutter_secure_storage_linux - 1.2.2 2.0.1
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.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
flutter_staggered_grid_view - 0.7.0 0.7.0
google_identity_services_web - 0.3.3 0.3.3
google_sign_in_android - 6.2.1 6.2.1
google_sign_in_ios - 5.9.0 5.9.0
google_sign_in_platform_interface - 2.5.0 2.5.0
google_sign_in_web - 0.12.4+4 0.12.4+4
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.12+23 0.8.12+23
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+2 0.8.12+2
image_picker_linux - 0.2.1+2 0.2.1+2
image_picker_macos - 0.2.1+2 0.2.1+2
image_picker_platform_interface - 2.10.1 2.10.1
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 10.0.8 10.0.9
leak_tracker_flutter_testing - 3.0.9 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
local_auth_android - 1.0.49 1.0.49
local_auth_darwin - 1.4.3 1.4.3
local_auth_platform_interface - 1.0.10 1.0.10
local_auth_windows - 1.0.11 1.0.11
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
package_info_plus_platform_interface - 3.2.0 3.2.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.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
provider - 6.1.4 6.1.4
sentry - 8.14.2 8.14.2
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
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
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
sprintf - 7.0.0 7.0.0
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.4 0.7.4
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.5
vm_service - 14.3.1 15.0.0
webview_flutter - 4.11.0 4.11.0
webview_flutter_android - 4.4.1 4.4.1
webview_flutter_platform_interface - 2.11.0 2.11.0
webview_flutter_wkwebview - 3.20.0 3.20.0
win32 - 5.12.0 5.12.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0

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

Found 6 issues. Showing the first 2:

The constraint `^8.1.0` on file_picker does not support the stable version `9.0.0`.

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

The constraint `^7.7.0` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it 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 3 errors:

  • URI_DOES_NOT_EXIST - lib/services/file_service.dart:3:8 - Target of URI doesn't exist: 'package:url_launcher/url_launcher_string.dart'.
  • UNDEFINED_METHOD - lib/services/file_service.dart:50:15 - The method 'canLaunchUrlString' isn't defined for the type 'FileService'.
  • UNDEFINED_METHOD - lib/services/file_service.dart:51:13 - The method 'launchUrlString' isn't defined for the type 'FileService'.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: