supabase 0.0.1-dev.2 copy "supabase: ^0.0.1-dev.2" to clipboard
supabase: ^0.0.1-dev.2 copied to clipboard

outdated

A dart client for Supabase.

example/main.dart

import 'package:supabase/supabase.dart';

void main() async {
  const supabaseUrl = '';
  const supabaseKey = '';
  final client = SupabaseClient(supabaseUrl, supabaseKey);
  final response = await client
      .from('countries')
      .select()
      .order('name', ascending: true)
      .execute();
  if (response.error == null) {
    print('response.data: ${response.data}');
  }
}