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

Replace the entire path with the given value.

Link copied to clipboard