supabase_hooks 0.0.7 copy "supabase_hooks: ^0.0.7" to clipboard
supabase_hooks: ^0.0.7 copied to clipboard

Unofficial Flutter Supabase life cycle adaptation for flutter_hooks.

2
likes
100/ 140
pub points
0%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

38 out of 47 API elements (80.9 %) have documentation comments.

Some symbols that are missing documentation: supabase_hooks, supabase_hooks.SupabaseAuthLifeState.recoverSessionFromUrl, supabase_hooks.SupabaseAuthRequiredLifeState.onResumed, supabase_hooks.SupabaseDeepLinkingLifeMixin, supabase_hooks.SupabaseDeepLinkingLifeMixin.mounted.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:supabase_hooks/supabase_hooks.dart that imports:
  • package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart that imports:
  • package:uni_links/uni_links.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:supabase_hooks/supabase_hooks.dart that imports:
  • package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart that imports:
  • package:uni_links/uni_links.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:supabase_hooks/supabase_hooks.dart that imports:
  • package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart that imports:
  • package:uni_links/uni_links.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:supabase_hooks/supabase_hooks.dart that imports:
  • package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart that imports:
  • package:supabase_flutter/supabase_flutter.dart that imports:
  • package:supabase_flutter/src/supabase.dart that imports:
  • package:supabase/supabase.dart that imports:
  • package:supabase/src/supabase.dart that imports:
  • package:storage_client/storage_client.dart that imports:
  • package:storage_client/src/storage_client.dart that imports:
  • package:storage_client/src/storage_file_api.dart that imports:
  • package:storage_client/src/fetch.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: Missing case clause for 'hidden'.

lib/src/supabase_auth_required_life_state.dart:51:5

   ╷
51 │     switch (state) {
   │     ^^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_hooks ^0.18.4 0.18.6 0.20.5
hive ^2.1.0 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
life_hooks ^0.0.7 0.0.18 0.0.19
supabase ^0.3.3 0.3.6 2.1.1
supabase_flutter ^0.3.0 0.3.3 2.5.1
uni_links ^0.5.1 0.5.1 0.5.1
url_launcher ^6.1.0 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
functions_client - 0.0.1-dev.5 2.0.0
gotrue - 0.2.3 2.6.0
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
jwt_decode - 0.3.1 0.3.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
postgrest - 0.1.11 2.1.1
realtime_client - 0.1.15+1 2.0.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
storage_client - 0.0.6+2 2.0.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uni_links_platform_interface - 1.0.0 1.0.0
uni_links_web - 0.1.0 0.1.0
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
web_socket_channel - 2.4.5 2.4.5
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4

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

Found 3 issues. Showing the first 2:

The constraint `^0.18.4` on flutter_hooks does not support the stable version `0.19.0`.

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

The constraint `^0.3.3` on supabase does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.