showShieldSheet function

Future<void> showShieldSheet(
  1. BuildContext context
)

Open the Recv-3 shield flow as a modal bottom sheet (reached from the balance card's "Shield" action). Self-contained: it proposes the shield on open, shows the confirmable numbers (gross / fee / net shielded), signs+broadcasts on confirm, then reports the honest outcome. Privacy-POSITIVE — it shows a "moving to your private balance" note, NEVER a de-shield warning.

Implementation

Future<void> showShieldSheet(BuildContext context) {
  // The shared sheet frame, whose width cap keeps the narrow confirm from
  // stretching into a full-width strip on a wide desktop window.
  //
  // S13 §1.3 — the rescan sheet's shape: scrim and drag locked for the
  // sheet's life (a drag closes a sheet by a direct pop, which no PopScope
  // can hold), Back held by the sheet itself while the shield submits. Every
  // settled state carries its own Cancel or Close.
  return showWalletSheet<void>(
    context,
    isDismissible: false,
    enableDrag: false,
    builder: (_) => const ShieldSheet(),
  );
}