Skip to main content

multi_role_auth 0.4.0 copy "multi_role_auth: ^0.4.0" to clipboard
multi_role_auth: ^0.4.0 copied to clipboard

Reusable multi-role auth logic for Flutter apps, backed by Supabase: bloc/cubit, domain entities/usecases, and repository. No UI - screens stay app-owned.

140/ 160
pub points
227
downloads

We analyzed this package 22 hours ago, and awarded it 140 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: 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

154 out of 175 API elements (88.0 %) have documentation comments.

Some symbols that are missing documentation: multi_role_auth.AppUserInitial.AppUserInitial.new, multi_role_auth.AuthDeleteAccount.AuthDeleteAccount.new, multi_role_auth.AuthInitial.AuthInitial.new, multi_role_auth.AuthIsUserLoggedIn.AuthIsUserLoggedIn.new, multi_role_auth.AuthLoading.AuthLoading.new.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:multi_role_auth/multi_role_auth.dart that imports:
  • package:multi_role_auth/src/auth/data/repositories/auth_repository_impl.dart that imports:
  • package:multi_role_auth/src/auth/data/datasource/auth_remote_data_source.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:multi_role_auth/multi_role_auth.dart that imports:
  • package:multi_role_auth/src/auth/data/repositories/auth_repository_impl.dart that imports:
  • package:multi_role_auth/src/auth/data/datasource/auth_remote_data_source.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, macOS, Web.

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/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

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/auth/data/datasource/auth_remote_data_source.dart:79:7

   ╷
79 │       return _fetchProfile(response.user!);
   │       ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth/data/datasource/auth_remote_data_source.dart

Passed report section
Support up-to-date dependencies
40 / 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
flutter_bloc ^9.1.1 9.1.1 9.1.1
fpdart ^1.2.0 1.2.0 1.2.0
google_sign_in ^7.2.0 7.2.0 7.2.0
supabase_flutter ^2.10.3 2.18.3 2.18.3
Transitive dependencies
Package Constraint Compatible Latest Notes
app_links - 7.2.2 7.2.2
app_links_linux - 1.0.4 1.0.4
app_links_platform_interface - 2.0.4 2.0.4
app_links_web - 1.0.5 1.0.5
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
bloc - 9.2.1 9.2.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.8 3.0.8
dart_jsonwebtoken - 3.4.1 3.4.1
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
functions_client - 2.7.1 2.7.1
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 7.2.18 7.2.18
google_sign_in_ios - 6.3.8 6.3.8
google_sign_in_platform_interface - 3.1.0 3.1.0
google_sign_in_web - 1.1.3 1.1.3
gotrue - 2.27.3 2.27.3
hooks - 2.2.0 2.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
jni - 1.1.0 1.1.0
jni_util - 1.0.0 1.0.0
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
nested - 1.0.0 1.0.0
objective_c - 9.6.2 9.6.2
package_config - 3.0.0 3.0.0
passkeys_platform_interface - 2.10.0 2.10.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
postgrest - 2.9.1 2.9.1
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.1 2.2.1
realtime_client - 2.13.2 2.13.2
record_use - 1.1.1 1.1.1
shared_preferences - 2.5.6 2.5.6
shared_preferences_android - 2.5.3 2.5.3
shared_preferences_foundation - 2.6.0 2.6.0
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
storage_client - 2.8.1 2.8.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
supabase - 2.16.5 2.16.5
supabase_common - 0.1.2 0.1.2
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.3 6.3.3
url_launcher_android - 6.3.33 6.3.33
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
vector_math - 2.4.3 2.4.3
web - 1.1.2 1.1.2
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4
yet_another_json_isolate - 2.1.1 2.1.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

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.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
227
downloads

Documentation

API reference

Publisher

verified publisherharipin.com

Weekly Downloads

Reusable multi-role auth logic for Flutter apps, backed by Supabase: bloc/cubit, domain entities/usecases, and repository. No UI - screens stay app-owned.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_bloc, fpdart, google_sign_in, supabase_flutter

More

Packages that depend on multi_role_auth