首先,你需要在pubspec.yaml文件中添加supabase_dart_generator和build_runner依赖: dependencies:flutter:sdk:flutter supabase:^1.0.0# 或其他版本json_annotation:^4.4.0dev_dependencies:build_runner:^2.1.0supabase_dart_generator:^0.1.0#
dependencies:supabase_flutter:^1.10.0json_annotation:^4.8.1dev_dependencies:build_runner:^2.4.0json_serializable:^6.7.1 Run build_runner to generate JSON serialization code: flutter pub run build_runner build --delete-conflicting-outputs Initialize the repository provider in your app: finalrepositoryP...
supabase_flutter: dependency: "direct main" description: name: supabase_flutter sha256: bdbc6770e0e91db0b9d931f41ea4ee311d8819f539743f47e8cc795b492be75a url: "https://pub.dev" source: hosted version: "2.8.1" synchronized: dependency: transitive ...
├── supabase_flutter 1.10.10 │ ├── supabase 1.9.8 │ │ ├── functions_client 1.3.2 │ │ ├── gotrue 1.11.1 │ │ ├── postgrest... │ │ ├── realtime_client 1.1.2 │ │ ├── storage_client 1.5.1
flutter pub add go_router Paste the following into main.dart main.dart flutter run -d web-server --web-hostname localhost --web-port 8000 --dart-define=SUPABASE_URL=<your-supabase-url> --dart-define=SUPABASE_ANON_KEY=<your-anon-key> Go to http://localhost:8000 Navigate to settings...
Describe the bug When trying to build the apk of my flutter project, I'm getting the below error: A problem occurred configuring project ':sign_in_with_apple'. > Could not create an instance of type com.android.build.api.variant.impl.Lib...