fun imageFromAsset( context: Context, assetName: String, size: Size? = null ): Image
context - Android context. assetName - image file. size - target image size (ignored for SVG and Lottie).
context
Context
assetName
String
size
Size?
Image