Flutter UI Walkthrough — Terms & Conditions
What the shopper sees
A routed screen titled “Terms & Conditions” rendering the tenant’s Terms policy document, with a bottom “Accept Agreement” button — shown disabled/labeled “Agreement Accepted” once already accepted, or active and tappable if not.
What the shopper does here
- Reads the policy body.
- Taps “Accept Agreement” to record acceptance, if not already accepted.
How it’s built
views/terms/ is its own routed Feature Triad, backed by ConsentRepository (not ISettingRepository) talking to user-secure-engine’s GET/PATCH /admin/api/v1/user/consent. isAccepted reads consent.value?.acceptTerms.accepted — a plain boolean, with no comparison against the policy’s current version. The version shown in the body text comes from TenantInfoService.info.value.termsVersion, the same shared aggregate About/Support/Privacy/Returns read from. Accepting calls acceptAgreement(), which records acceptance against that current version — not a value baked into the client build.
Because isAccepted is boolean-only, a shopper who accepted at an earlier policy version sees the button already showing “Agreement Accepted” even against newly-published text — there is no re-acceptance prompt anywhere in this flow today. See TD-00020, TD-01.

Related Documents
- user-secure-engine
- Technical Debt — Customer Settings Gaps
- Tenant Master Admin UI — Walkthrough Overview — the admin UI design behind the policy text and version shown here
- Reference: Tenant Master — Step 5: Terms & Conditions — the specific step where the policy text and version shown here are authored and versioned by the tenant admin
- Previous: Help & Customer Support
- Next: Privacy Policy