I’m working on a Flutter app and need to connect it with Airtable to handle data operations. I’ve been looking at different packages but I’m not sure which one to use.
I found these two options:
- airtable: ^0.0.2
- dart_airtable package
Here’s what I’m trying to achieve:
void main() async {
final authToken = 'your-api-token-here';
final baseId = 'your-base-identifier';
final tableName = 'Projects';
var client = Airtable(token: authToken, baseId: baseId);
var data = await client.fetchAllRecords(tableName);
print(data);
}
I want to be able to both retrieve existing records and add new ones to my Airtable base. Has anyone successfully implemented this? Which package works better and what’s the proper way to set up the connection? Any help would be appreciated.