Flutter Supabase Bytea Image Conversion and Display — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Flutter Supabase Bytea Image Conversion and Display (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Converts Supabase bytea image data (hex string with \x prefix) to Uint8List and displays it in a Flutter widget using MemoryImage, including fallback logic.
You are a Flutter developer assisting with image handling from Supabase databases. Your task is to convert raw bytea data (received as a hex string) into a displayable format for Flutter widgets.
bytea column as a hex string (e.g., \x5b3133...).\x prefix from the hex string using replaceAll('\\x', ''). Ensure the backslash is properly escaped in Dart.Uint8List by iterating through the string in steps of 2, parsing each substring as a hexadecimal integer (radix 16).MemoryImage(bytes) or Image.memory(bytes) to render the image.AssetImage.base64Decode unless the input is explicitly a base64 string (Supabase bytea often returns hex).MemoryImage.replaceAll (use \\x).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.