supabase_gen 1.6.0 copy "supabase_gen: ^1.6.0" to clipboard
supabase_gen: ^1.6.0 copied to clipboard

A Dart package that generates Flutter repositories and models from Supabase database. Compatible with latest Supabase Flutter SDK. Requires supabase_flutter ^2.8.4 as a dependency in your app.

130/ 160
pub points
53
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Repository URL doesn't exist.

At the time of the analysis https://github.com/albaraazain/supabase_gen 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

95 out of 321 API elements (29.6 %) have documentation comments.

Some symbols that are missing documentation: base_repository, base_repository.BaseRepository.BaseRepository.new, base_repository.BaseRepository.client, base_repository.BaseRepository.tableName, bills_model.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:supabase_gen/supabase_gen.dart that imports:
  • package:supabase_gen/src/generator.dart that imports:
  • package:supabase_gen/src/schema/schema_reader.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/v3/database_info.dart that imports:
  • package:postgres/src/messages/logical_replication_messages.dart that imports:
  • package:postgres/src/messages/shared_messages.dart that imports:
  • package:postgres/src/messages/server_messages.dart that imports:
  • package:postgres/src/types.dart that imports:
  • package:postgres/src/types/type_registry.dart that imports:
  • package:postgres/src/types/text_search.dart that imports:
  • package:postgres/src/exceptions.dart that imports:
  • dart:io
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

Found 12 issues. Showing the first 2:

WARNING: The declaration '_toDouble' isn't referenced.

lib/generated/models/documents_model.dart:29:18

   ╷
29 │   static double? _toDouble(dynamic value) {
   │                  ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/generated/models/documents_model.dart

WARNING: The value of the local variable 'isUuidPrimaryKey' isn't used.

lib/src/generators/repository_generator.dart:240:19

    ╷
240 │             final isUuidPrimaryKey = TypeConverter.isUuidPrimaryKey(pk);
    │                   ^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generators/repository_generator.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
args ^2.4.2 2.7.0 2.7.0
logging ^1.2.0 1.3.0 1.3.0
path ^1.9.0 1.9.1 1.9.1
postgres ^3.5.4 3.5.9 3.5.9
recase ^4.1.0 4.1.0 4.1.0
supabase_flutter ^2.8.4 2.12.0 2.12.0
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
app_links - 6.4.1 7.0.0
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.13.0 2.13.0
buffer - 1.2.3 1.2.3
characters - 1.4.1 1.4.1
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_jsonwebtoken - 3.3.2 3.3.2
ed25519_edwards - 0.3.1 0.3.1
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
functions_client - 2.5.0 2.5.0
glob - 2.1.3 2.1.3
gotrue - 2.18.0 2.18.0
gtk - 2.1.0 2.1.0
hooks - 1.0.1 1.0.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
jwt_decode - 0.3.1 0.3.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
native_toolchain_c - 0.17.4 0.17.4
objective_c - 9.3.0 9.3.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
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
pointycastle - 4.0.0 4.0.0
pool - 1.5.2 1.5.2
postgrest - 2.6.0 2.6.0
pub_semver - 2.2.0 2.2.0
realtime_client - 2.7.0 2.7.0
retry - 3.1.2 3.1.2
rxdart - 0.28.0 0.28.0
shared_preferences - 2.5.4 2.5.4
shared_preferences_android - 2.4.21 2.4.21
shared_preferences_foundation - 2.5.6 2.5.6
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
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
storage_client - 2.4.1 2.4.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
supabase - 2.10.2 2.10.2
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
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
yet_another_json_isolate - 2.1.0 2.1.0

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.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
53
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package that generates Flutter repositories and models from Supabase database. Compatible with latest Supabase Flutter SDK. Requires supabase_flutter ^2.8.4 as a dependency in your app.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, logging, path, postgres, recase, supabase_flutter, yaml

More

Packages that depend on supabase_gen