chat_supabase 1.1.0 copy "chat_supabase: ^1.1.0" to clipboard
chat_supabase: ^1.1.0 copied to clipboard

A flutter package meant to ease the process of creating chat applications in Flutter. We use supabase as the db

0
likes
100/ 160
pub points
69
downloads

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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
0 / 20trigger folding of the section

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

4 out of 97 API elements (4.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: api_status, api_status.ApiError, api_status.ApiError.ApiError, api_status.ApiError.code, api_status.ApiError.message.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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:chat_supabase/chat_supabase.dart that imports:
  • package:chat_supabase/utils/common_functions.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:chat_supabase/chat_supabase.dart that imports:
  • package:chat_supabase/utils/common_functions.dart that imports:
  • package:chat_supabase/utils/constants.dart that imports:
  • package:supabase_flutter/supabase_flutter.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:chat_supabase/chat_supabase.dart that imports:
  • package:chat_supabase/utils/common_functions.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:chat_supabase/chat_supabase.dart that imports:
  • package:chat_supabase/utils/common_functions.dart that imports:
  • package:chat_supabase/utils/constants.dart that imports:
  • package:supabase_flutter/supabase_flutter.dart that imports:
  • package:supabase_flutter/src/supabase_auth.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:chat_supabase/chat_supabase.dart that imports:
  • package:chat_supabase/utils/common_functions.dart that imports:
  • package:chat_supabase/utils/constants.dart that imports:
  • package:supabase_flutter/supabase_flutter.dart that imports:
  • package:supabase_flutter/src/supabase_auth.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 11 issues. Showing the first 2:

/tmp/pana_ZHYGJN/lib/api/repo_layer.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_ZHYGJN/lib/models/initialise_supabase_model.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

10/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_dotenv any 5.2.1 5.2.1
fluttertoast any 8.2.10 8.2.10
http any 1.2.2 1.2.2
intl any 0.20.1 0.20.1
supabase_flutter any 2.8.2 2.8.2
Transitive dependencies
Package Constraint Compatible Latest
app_links - 6.3.3 6.3.3
app_links_linux - 1.0.3 1.0.3
app_links_platform_interface - 2.0.2 2.0.2
app_links_web - 1.0.4 1.0.4
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
functions_client - 2.4.0 2.4.0
gotrue - 2.11.1 2.11.1
gtk - 2.1.0 2.1.0
http_parser - 4.1.1 4.1.1
jwt_decode - 0.3.1 0.3.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
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
plugin_platform_interface - 2.1.8 2.1.8
postgrest - 2.4.0 2.4.0
realtime_client - 2.4.1 2.4.1
retry - 3.1.2 3.1.2
rxdart - 0.28.0 0.28.0
shared_preferences - 2.3.4 2.3.4
shared_preferences_android - 2.4.0 2.4.0
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.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
storage_client - 2.3.0 2.3.0
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
supabase - 2.6.1 2.6.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
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.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
xdg_directories - 1.1.0 1.1.0
yet_another_json_isolate - 2.0.3 2.0.3

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_METHOD - lib/api/repo_layer.dart:22:18 - The method 'initialize' isn't defined for the type 'Supabase'.
  • UNDEFINED_FUNCTION - lib/utils/common_functions.dart:15:18 - The function 'FileOptions' isn't defined.
  • UNDEFINED_GETTER - lib/utils/constants.dart:6:27 - The getter 'instance' isn't defined for the type 'Supabase'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

0
likes
100
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package meant to ease the process of creating chat applications in Flutter. We use supabase as the db

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_dotenv, fluttertoast, http, intl, supabase_flutter

More

Packages that depend on chat_supabase