PainterSuffixHint

@Immutable
abstract class PainterSuffixHint : PainterPathHint

A PainterHint that adds a suffix to a resource file name, without changing the rest of the path nor the extension. For example, if the original path is icons/MyIcon.svg, and the suffix is _dark, the patched path will be icons/MyIcon_dark.svg.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open override fun PainterProviderScope.patch(): String

Patch the path, if needed.

Link copied to clipboard