Overview
The functions_client package is a Dart library that enables Flutter applications to interact with Supabase Functions, allowing developers to call serverless functions directly from their app. It provides a simple, type-safe API for making HTTP requests to Supabase-hosted functions, supporting authentication and error handling. Ideal for executing backend logic such as data processing, file manipulation, or third-party integrations without managing servers. The client integrates seamlessly with Supabase's authentication and database services.
Use cases
- Calling serverless functions from Flutter apps
- Executing backend logic without managing servers
- Integrating with Supabase Auth and Database
- Handling file operations via serverless functions
- Automating workflows with custom backend logic
Key features
- Type-safe function calls
- Built-in authentication support
- Error handling and retry mechanisms
- Cross-platform compatibility
- Simple HTTP request interface
- Integration with Supabase ecosystem
Suitable for
- Flutter developers using Supabase
- Projects needing serverless backend logic
- Apps requiring secure function execution
- Teams building full-stack Flutter apps
- Developers wanting minimal backend infrastructure
Considerations
- Requires a Supabase project with deployed functions
- Authentication must be configured in Supabase
- Limited to Supabase Functions endpoints
- Dependent on network connectivity
- Not suitable for complex server-side applications