Resend Dart SDK
Platform Support
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
API Support
Api keys | Domains | |
---|---|---|
✅ | ✅ | ✅ |
Installation
To install Resend Dart SDK, simply execute the following command in a terminal:
flutter pub add resend_dart
Setup
First, you need to get an API key, which is available in the Resend Dashboard.
Example
import 'package:resend_dart/resend.dart';
final apiKey = `API_KEY`
final resend = Resend(apiKey: apiKey);
resend.email.send(
from: 'r@email.io',
to: ['to@gmail.com'],
subject: 'Test subject',
);