PainterPrefixHint

@Immutable
abstract class PainterPrefixHint : PainterPathHint

A PainterHint that adds a prefix to a resource file name, without changing the rest of the path. For example, if the original path is icons/MyIcon.svg, and the prefix is Dark, the patched path will be icons/DarkMyIcon.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