presentation/widgets/debug_section library

Classes

CopyIconButton
Copy button that shows a SnackBar safely.
DebugCard
A bordered box with a light background.
DebugSection
Shared UI pieces used by the detail pages.
HeaderList
Header list, for both requests and responses.
InfoChip
Small info chip (status, duration, size, etc.).
JsonBody
JSON body that toggles between tree and raw text and never overflows.
KeyValueTile
A key/value row that shows long values without overflowing.

Functions

copyToClipboard(BuildContext context, String text, String label) → void
copyToClipboardWithMessenger(ScaffoldMessengerState? messenger, String text, String message) → void
The messenger is captured up front so a SnackBar can still be shown after the dialog is closed.