User Interface medium complexity mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Captures a static image snapshot of the peer mentor's key stats using Flutter's RepaintBoundary widget and shares it externally via the share_plus package. Handles image rendering, temporary file creation, and system share sheet invocation.

Feature: Annual Summary (Wrapped)

wrapped-share-widget

Responsibilities

  • Wrap stat layout in RepaintBoundary for pixel-accurate capture
  • Convert rendered widget to PNG byte buffer
  • Invoke share_plus Share.shareXFiles with generated image
  • Display loading indicator during image generation

Interfaces

captureAndShare(GlobalKey repaintKey, String userName) → Future<void>
generateShareImage(RenderRepaintBoundary boundary) → Future<Uint8List>

Relationships

Dependents (1)

Components that depend on this component