Declaration Sign-off Screen
Component Detail
Description
Flutter screen presenting a scrollable confidentiality declaration text, a mandatory confirmation checkbox that activates only after the user has scrolled to the bottom, and a submit button. Shown as a conditional step in the expense registration flow when the selected expense type includes a driver honorarium component.
declaration-sign-off-screen
Sources & reasoning
The core UI for this feature. Flutter must present the legal text in a scrollable view and enforce scroll-to-bottom before the confirmation checkbox becomes interactive, satisfying both the UX requirement and the legal intent of ensuring the text was read.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render versioned declaration text in a scrollable container
- Gate the confirmation checkbox behind full-scroll detection
- Submit the signed declaration with timestamp via the Declaration Service
- Support offline queuing via the Drift mutation outbox
Interfaces
onDeclarationScrolledToBottom()
onConfirmationToggled(bool confirmed)
onSubmit(declarationVersionHash)
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (2)
Data entities managed by this component