The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add Dart initialize on yaml file
dshukertjr96f045f7dc5a
diff --git a/apps/docs/docs/ref/dart/initializing.mdx b/apps/docs/docs/ref/dart/initializing.mdxdeleted file mode 100644index 501efaef48f..00000000000--- a/apps/docs/docs/ref/dart/initializing.mdx+++ /dev/null@@ -1,50 +0,0 @@-----id: initializing-title: 'Initializing'-slug: initializing------<RefSubLayout.EducationRow>- <RefSubLayout.Details>-- Initialize Supabase with the static `initialize()` method on `Supabase` class.-- </RefSubLayout.Details>-- <RefSubLayout.Examples>-- <Tabs- size="small"- type="underlined"- defaultActiveId="flutter"- >- <TabPanel id="flutter" label="Flutter">-- ```dart main.dart- Future<void> main() async {- WidgetsFlutterBinding.ensureInitialized();-- await Supabase.initialize(- url: 'https://xyzcompany.supabase.co',- anonKey: 'public-anon-key',- );-- runApp(MyApp());- }- ```-- </TabPanel>- <TabPanel id="dart" label="Other Dart Project">-- ```dart- final supabase = SupabaseClient(- 'https://xyzcompany.supabase.co',- 'public-anon-key',- );- ```-- </TabPanel>- </Tabs>-- </RefSubLayout.Examples>-</RefSubLayout.EducationRow>diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.ymlindex 333147b6b49..72e079bb08b 100644--- a/spec/supabase_dart_v1.yml+++ b/spec/supabase_dart_v1.yml@@ -16,6 +16,41 @@ info:version: '0.0.1'functions:+ - id: initializing+ title: 'Initializing'+ $ref: '@supabase/supabase-js.index.SupabaseClient.constructor'+ description: |+ You can initialize Supabase with the static `initialize()` method of `Supabase` class.++ The Supabase client is your entrypoint to the rest of the Supabase functionality+ and is the easiest way to interact with everything we offer within the Supabase ecosystem.++ examples:+ - id: flutter-initialize+ name: For Flutter+ code: |+ ```dart+ Future<void> main() async {+ await Supabase.initialize(+ url: 'https://xyzcompany.supabase.co',+ anonKey: 'public-anon-key',+ );++ runApp(MyApp());+ }++ // Get a reference your Supabase client+ final supabase = Supabase.instance.client;+ ```+ - id: for-other-dart-projects+ name: For other Dart projects+ code: |+ ```dart+ final supabase = SupabaseClient(+ 'https://xyzcompany.supabase.co',+ 'public-anon-key',+ );+ ```- id: sign-uptitle: 'signUp()'description: |