Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Initialize Supabase once, then query through the generated types, imported
from `supabase_schema.g.dart`:

```dart file
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:supabase_flutter/supabase_flutter.dart';

import 'supabase_schema.g.dart';
Expand All @@ -106,7 +106,7 @@ Future<void> main() async {
url: 'https://your-project.supabase.co',
publishableKey: 'your-publishable-key',
);
runApp(const MaterialApp(home: Placeholder()));
runApp(const Placeholder());
}

Future<List<BooksRow>> booksInPrint() {
Expand Down
6 changes: 3 additions & 3 deletions packages/supabase_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ session before it returns. Find the URL and the publishable key of your
project in the dashboard under **Project Settings > API Keys**.

```dart file
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:supabase_flutter/supabase_flutter.dart';

Future<void> main() async {
Expand All @@ -91,7 +91,7 @@ Future<void> main() async {
url: 'https://your-project.supabase.co',
publishableKey: 'your-publishable-key',
);
runApp(const MaterialApp(home: Placeholder()));
runApp(const Placeholder());
}

final supabase = Supabase.instance.client;
Expand Down Expand Up @@ -641,7 +641,7 @@ Create the stream once, in a `State` or a controller. A stream created inside
connection.

```dart file
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:my_app/supabase_schema.g.dart';
import 'package:supabase_flutter/supabase_flutter.dart';

Expand Down
Loading