components/image
library
Classes
UBase64Image
A decoded base64 image source: either a data:<mime>;base64,<payload> URI
or a bare base64 payload whose bytes carry a known image signature.
UIconPrimary
Icon-sized UImage tinted with the theme's primary color (SVG/PNG icons). UIconPrimary("assets/icons/home.svg", width: 24)
UImage
One widget for any image: asset, URL (cached), SVG, Lottie (.json), base64 (raster/SVG/Lottie) or UFileData, with u's box and tap options. UImage("https://x.com/a.jpg", width: 80, height: 80, borderRadius: 12)
UImageAsset
Asset image (PNG/JPG/WebP/SVG by extension). UImageAsset("assets/logo.png", width: 120)
UImageFile
Image from a File on disk (not on web). UImageFile(File(path))
UImageMemory
Image from bytes in memory. UImageMemory(bytes, width: 100)
UImageNetwork
Network image with disk cache and placeholder (SVG by extension). UImageNetwork(url, width: 64, height: 64)
Enums
UBase64ImageKind
What a base64 image holds: raster (PNG/JPG…), SVG or Lottie JSON.