layou_auth 1.0.3 copy "layou_auth: ^1.0.3" to clipboard
layou_auth: ^1.0.3 copied to clipboard

Firebase Auth package with Google, Apple, and Email sign-in/linking support. Provides ready-to-use widgets and Riverpod providers.

120/ 160
pub points
30
downloads

We analyzed this package 2 days ago, and awarded it 120 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.

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

277 out of 381 API elements (72.7 %) have documentation comments.

Some symbols that are missing documentation: layou_auth.AppleProviderConfig.AppleProviderConfig.new, layou_auth.AuthError.AuthError.new, layou_auth.AuthError.error, layou_auth.AuthException.code, layou_auth.AuthException.message.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:layou_auth/layou_auth.dart that imports:
  • package:layou_auth/src/widgets/forms/layou_email_form.dart that imports:
  • package:layou_auth/src/core/layou_auth.dart that imports:
  • package:layou_auth/src/core/auth_service.dart that imports:
  • package:layou_auth/src/config/layou_auth_config.dart that imports:
  • package:layou_auth/src/config/providers/apple_provider_config.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:layou_auth/layou_auth.dart that imports:
  • package:layou_auth/src/widgets/forms/layou_email_form.dart that imports:
  • package:layou_auth/src/core/layou_auth.dart that imports:
  • package:layou_auth/src/core/auth_service.dart that imports:
  • package:layou_auth/src/config/layou_auth_config.dart that imports:
  • package:layou_auth/src/config/providers/apple_provider_config.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:layou_auth/layou_auth.dart that imports:
  • package:layou_auth/src/widgets/forms/layou_email_form.dart that imports:
  • package:layou_auth/src/core/layou_auth.dart that imports:
  • package:layou_auth/src/core/auth_service.dart that imports:
  • package:layou_auth/src/config/layou_auth_config.dart that imports:
  • package:layou_auth/src/config/providers/apple_provider_config.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple/src/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dart that imports:
  • package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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
crypto ^3.0.0 3.0.7 3.0.7
firebase_auth ^5.3.0 5.7.0 6.2.0
flutter_riverpod ^2.5.0 2.6.1 3.3.1
google_sign_in ^6.2.0 6.3.0 7.2.0
riverpod_annotation ^2.3.0 2.6.1 4.0.2
sign_in_with_apple ^6.1.0 6.1.4 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.59 1.3.67
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
fake_async - 1.3.3 1.3.3
firebase_auth_platform_interface - 7.7.3 8.1.7
firebase_auth_web - 5.15.3 6.1.3
firebase_core - 3.15.2 4.5.0
firebase_core_platform_interface - 6.0.2 6.0.2
firebase_core_web - 2.24.1 3.5.0
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.9
google_sign_in_ios - 5.9.0 6.3.0
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.3
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
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
matcher - 0.12.19 0.12.19
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
riverpod - 2.6.1 3.2.1
sign_in_with_apple_platform_interface - 1.1.0 2.0.0
sign_in_with_apple_web - 2.1.1 3.0.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
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.10 0.7.11
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1

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

Found 5 issues. Showing the first 2:

The constraint `^5.3.0` on firebase_auth does not support the stable version `6.0.0`.

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

The constraint `^2.5.0` on flutter_riverpod does not support the stable version `3.0.0`.

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

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/providers/auth_providers.dart:41:26 - The argument type 'AutoDisposeProvider<AuthUser?>' can't be assigned to the parameter type 'AlwaysAliveProviderListenable
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/providers/auth_providers.dart:48:26 - The argument type 'AutoDisposeProvider<AuthUser?>' can't be assigned to the parameter type 'AlwaysAliveProviderListenable
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/providers/auth_providers.dart:55:26 - The argument type 'AutoDisposeProvider<AuthUser?>' can't be assigned to the parameter type 'AlwaysAliveProviderListenable

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.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Firebase Auth package with Google, Apple, and Email sign-in/linking support. Provides ready-to-use widgets and Riverpod providers.

Repository (GitHub)
View/report issues
Contributing

Topics

#firebase #authentication #riverpod #google-sign-in #apple-sign-in

License

MIT (license)

Dependencies

crypto, firebase_auth, flutter, flutter_riverpod, google_sign_in, riverpod_annotation, sign_in_with_apple

More

Packages that depend on layou_auth