LocalImageResource

References a local drawable or image resource from your app bundle.

The file should be placed under: commonMain/composeResources/files/...

The resource path can be obtained using:

val imagePath = Res.getUri("files/images/hero_banner.png")
AdaptyCustomAsset.LocalImageResource(path = imagePath)

Parameters

path

path URI of the local image resource (from Res.getUri()).

Constructors

Link copied to clipboard
constructor(path: String)

Properties

Link copied to clipboard