arch-atlas

Prestation Detail Screen

service_details/service_details.dart

presentation

Overview

Read-only display of a single provision: title, description, status, options, variant prices, and (when available) the booking policy card. Edit button routes to EditProvisionScreen.

User Flow

  1. Watches prestationDetailProvider(serviceId) family entry.
  2. Renders options as chip groups; variants as a price table.
  3. Booking policy card: deposit %, max cancellation delay, refund rules table.
  4. Edit button → context.push('/prestation/:id/edit').

Cases & Edge Cases

  • If bookingPolicy is null the policy card is replaced by a 'Configure cancellation policy' CTA.
  • Long descriptions are truncated with a 'Show more' toggle.

Code References

  • lib/src/features/seller/service_details/service_details.dart

API Calls

Empty — fill this in later. Open the manifest and add content here.

Notes

service_details/CLAUDE.md lists schedule/availability as a future addition — track it there.