supabase_flutter library

Supabase Client Library for Flutter.

See github.com/supabase/supabase-flutter to learn more

Classes

AuthOptions
AuthSession
AuthUser
Binding
Bucket
BucketOptions
CookieOptions
EmptyLocalStorage
A LocalStorage implementation that does nothing. Use this to disable persistence.
FetchOptions
FileObject
FileOptions
FunctionInvokeOptions
FunctionResponse
FunctionsClient
GoTrueApi
GoTrueClient
GotrueError
GotrueJsonResponse
GotrueResponse
GotrueSessionResponse
GotrueSubscription
GotrueUserResponse
HiveLocalStorage
A LocalStorage implementation that implements Hive as the storage method.
LocalStorage
LocalStorage is used to persist the user session in the device.
Metadata
OpenIDConnectCredentials
PostgresColumn
PostgrestBuilder<T>
The base builder class.
PostgrestClient
A PostgREST api client written in Dartlang. The goal of this library is to make an "ORM-like" restful interface.
PostgrestError
A Postgrest response error
PostgrestFilterBuilder
PostgrestQueryBuilder
The query builder class provides a convenient interface to creating request queries.
PostgrestResponse<T>
A Postgrest response
PostgrestRpcBuilder
PostgrestTransformBuilder<T>
RealtimeClient
RealtimeSubscription
RemoveSubscriptionResult
SearchOptions
Session
SortBy
StorageError
StorageResponse<T>
Subscription
Supabase
Supabase instance.
SupabaseAuth
SupabaseAuth
SupabaseAuthRequiredState<T extends StatefulWidget>
SupabaseAuthState<T extends StatefulWidget>
Interface for user authentication screen It supports deeplink authentication
SupabaseClient
SupabaseQueryBuilder
SupabaseRealtimePayload
SupabaseStorageClient
User
UserAttributes

Enums

AuthChangeEvent
CountOption
Returns count as part of the response when specified.
PostgresTypes
Provider
ResponseType
ReturningOption
Returns count as part of the response when specified.
SupabaseEventTypes
TextSearchType
The type of tsquery conversion to use on query.

Constants

supabasePersistSessionKey → const String

Functions

convertCell(String type, dynamic value) → dynamic
If the value of the cell is null, returns null. Otherwise converts the string value to the correct type.
convertChangeData(List<Map<String, dynamic>> columns, Map<String, dynamic> record, {List<String>? skipTypes}) Map<String, dynamic>
Takes an array of columns and an object of string values then converts each string value to its mapped type.
convertColumn(String columnName, List<PostgresColumn> columns, Map<String, dynamic> record, List<String> skipTypes) → dynamic
Converts the value of an individual column.
noop(dynamic value) → dynamic
toArray(dynamic value, String type) → dynamic
Converts a Postgres Array into a native Dart array
toBoolean(dynamic value) bool?
toDouble(dynamic value) double?
toInt(dynamic value) int?
toJson(dynamic value) → dynamic
toTimestampString(String? value) String?
Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T' See https://github.com/supabase/supabase/issues/18

Typedefs

PostgrestConverter<T> = T Function(dynamic data)

Exceptions / Errors

SupabaseRealtimeError