Flutter SDK
Search
Full-text search across all EU frameworks with the Flutter SDK.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Full-text search across all EU frameworks with the Flutter SDK.
query()Future<Page<SearchResult>> query(
String q, {
String? framework,
String? resultType,
int? page,
int? perPage,
})
| Parameter | Type | Description |
|---|---|---|
q | String | Search query |
framework | String? | Filter by framework slug (e.g. gdpr) |
resultType | String? | Filter by type: article, recital, annex |
page | int? | Page number |
perPage | int? | Items per page |
iter()Stream<SearchResult> iter(String q, {String? framework, String? resultType, int perPage = 20})
SearchResult| Field | Type | Description |
|---|---|---|
id | int | Internal ID |
frameworkSlug | String | Source framework |
type | String | article, recital, or annex |
number | String | Item number |
title | String? | Item title |
matchContext | String? | Surrounding matched text snippet |
final results = await client.search.query('incident notification 72 hours');
print('Found ${results.meta.total} results');
for (final r in results.data) {
print('[${r.frameworkSlug.toUpperCase()}] ${r.type} ${r.number}: ${r.title}');
}
final results = await client.search.query(
'data breach',
framework: 'gdpr',
);
final results = await client.search.query(
'supply chain security',
resultType: 'article',
);
await for (final r in client.search.iter('personal data')) {
print('[${r.frameworkSlug}] ${r.number} — ${r.title}');
}
Was this page helpful?
