Export Action Widget
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
A single-button widget in the Flutter mobile app that triggers the Bufdir report export. Displays a loading indicator during asynchronous file generation and handles the device share sheet or file system download on success.
export-action-widget
Responsibilities
- Render the export trigger button with loading and error states
- Invoke the Export Service and await the download URL or binary stream
- Open the device share sheet or save to local file system on success
- Display error feedback if export generation fails
Interfaces
exportReport(reportId: String): Future<void>
onExportSuccess(downloadUrl: String): void
onExportError(error: String): void