blockify library

Generate and render an image based off any String you specify with the configurable render function to use as profile pictures, identifiers, or more.

Functions

render({required String content, Color? backgroundColor, Color? primaryColor, int size = 256, double margin = .12, int blockAmount = 5}) → Image
Render an Image that is automatically generated based off the SHA-512 of the content you specify. As a result, barring any changes in the algorithm between releases, if you specify the same parameters, the resulting image will be the same.