User Interface low complexity mobile
2
Dependencies
1
Dependents
1
Entities
0
Integrations

Description

Read-only Flutter screen presenting the peer mentor's digital certificate including name, organization, certification type, issue date, expiry date, and issuing coordinator. Renders a prominent visual expiry indicator for expired certificates and provides a share button that invokes the platform share sheet to export as PDF or image. Copy frames the digital certificate as a companion to the physical card, not a replacement.

Feature: Digital Peer Mentor Certificate

certificate-display-screen

Sources & reasoning

Primary UI surface for the feature - peer mentors need a read-only screen to view and share their digital certificate. The share functionality and expiry indicator are core requirements from the feature description and source doc.

No source references — this artifact was included based on reasoning alone (see above).

Responsibilities

  • Render certificate fields from certifications table via REST API
  • Display clear expiry status indicator for expired or near-expiry certificates
  • Invoke platform share sheet for PDF/image export
  • Load cached certificate from Drift for offline access

Interfaces

build(BuildContext): Widget
shareCertificate(CertificationRecord): Future<void>
renderExpiryStatus(DateTime expiryDate): ExpiryBadge

Relationships

Dependencies (2)

Components this component depends on

Dependents (1)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component