dartpub.dev DartNative · beta
plugins / dartnative_supabase
ds

dartnative_supabase

v1.0.0 dartpub Free

Pure-Dart Supabase client

Supabase for DartNative — the pure-Dart Supabase client (auth, Postgres, storage, realtime) with the same `Supabase.initialize` / `Supabase.instance.client` API as `supabase_flutter`. No platform channels.

by DartNative/dartnative_supabase · DartNative ≥ 3.0 · updated 1 month ago
Install
Free
pubspec.yaml
dependencies:
  dartnative_supabase: ^1.0.0
Weekly installs
38
Active apps
5
Rating
0.0 · 0
Open issues
0

dartnative_supabase

Supabase for DartNative — auth, Postgres, storage, and realtime through the pure-Dart supabase client, with the same Supabase.initialize(...) / Supabase.instance.client API as supabase_flutter. No platform channels. iOS and Android.

Why you'll like it

  • The real Supabase client — auth, database, storage, and realtime, all from Dart.
  • Familiar APISupabase.initialize(...) then Supabase.instance.client, like supabase_flutter.
  • Pure Dart — no platform channels, no native code.

Highlights

  • Supabase.initialize({url, anonKey}) — boot the client once at startup.
  • Supabase.instance.client — the SupabaseClient: .from(...), .auth, .storage, .realtime.

Install

dependencies:
  dartnative_supabase: ^1.0.0   # from dartpub.dev
dn pub get

Quick look

import 'package:dartnative_supabase/dartnative_supabase.dart';

await Supabase.initialize(
  url: 'https://YOUR-PROJECT.supabase.co',
  anonKey: 'YOUR-ANON-KEY',
);

final supabase = Supabase.instance.client;

final todos = await supabase.from('todos').select();
await supabase.auth.signInWithPassword(email: email, password: password);

Platform setup

None — just add the dependency to your pubspec.yaml (above) and dn pub get. No iOS or Android configuration is required.

Credits & license

A DartNative port of supabase_flutter, built on the pure-Dart supabase package (MIT).

Commercial plugin distributed via dartpub.dev — file issues on the plugin's page.