Painter Hint
A PainterHint is a hint for PainterProvider on how to load a Painter. It can used to patch the path of the resource being loaded (e.g., for New UI icon path mapping, and handling the dark theme variants), replace colors in an SVG based on the theme palette, etc.
Custom implementations are not allowed. There are two types of hints:
PainterPathHint modifies the path of the resource to load
PainterSvgPatchHint modifies the contents of SVG resources
See also
Inheritors
Types
Link copied to clipboard
An empty PainterHint, it will be ignored.