adds intro and installing guide for Flutter

This commit is contained in:
dshukertjr committed 2022-12-13 00:46:08 +09:00
1 parent d38b925bec
commit 541a0a8045
2 files changed
+64

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
---
id: installing
title: 'Installing'
slug: installing
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml
---
### Install from pub.dev
<RefSubLayout.EducationRow>
<RefSubLayout.Details>
You can install Supabase package from [pub.dev](https://pub.dev/packages/supabase_flutter)
</RefSubLayout.Details>
<RefSubLayout.Examples>
<Tabs
size="small"
type="underlined"
defaultActiveId="npm"
>
<TabPanel id="flutter" label="Flutter">
```sh Terminal
flutter pub add supabase_flutter
```
</TabPanel>
<TabPanel id="dart" label="Other Dart Project">
```sh Terminal
dart pub add supabase
```
</TabPanel>
</Tabs>
</RefSubLayout.Examples>
</RefSubLayout.EducationRow>
+23
View File
@@ -0,0 +1,23 @@
---
id: introduction
title: Introduction
hideTitle: true
---
<div className="flex items-start gap-6 not-prose" id="introduction">
<img src="/docs/img/icons/menu/reference-dart.svg" className="w-8 h-8 rounded" />
<div className="flex flex-col gap-2">
<h1 className="text-3xl text-scale-1200 m-0">Flutter Client Library</h1>
<h2 className="text-base font-mono text-scale-1100">supabase-flutter</h2>
</div>
</div>
<div className="max-w-xl">
This reference documents every object and method available in Supabase's Flutter
library, [supabase-flutter](https://pub.dev/packages/supabase_flutter). You can
use supabase-flutter to interact with your Postgres database, listen to database changes, invoke
Deno Edge Functions, build login and user management functionality, and manage large files.
<br />
<br />
We also provide [supabase](https://pub.dev/packages/supabase) package for non-Flutter projects.
</div>