core/placeholder_png library

Constants

placeholderPngComment → const String
Text embedded in generated placeholder images so doctor can tell a template image from a real one.

Functions

buildPlaceholderPng({int size = 512, int red = 0x42, int green = 0x85, int blue = 0xF4}) → Uint8List
Builds a valid solid-colour PNG so icon and splash tooling can run before a client has real artwork. size is the width and height.
isPlaceholderPng(File file) → bool
Whether file is a placeholder generated by buildPlaceholderPng.