Added in Version 1.0.0

ImageParameter(source: string)

Initialize object

ImageParameter(source: string): ImageParameter

Parameter

source

Image source

string

  • How to specify the image source

    • Base64 encoded contents

    • URI (http/https)

    • Resource file name

      How to add the resource file

      Platform

      iOS

      Add the resource file to the iOS project.

      Android

      Add the resource file directly under android/app/src/main/res/drawable in the Android project. (Use only lower case letters and underscores in the file name. Example: my_file.png)

      Windows

      Add the resource file directly under Assets in the Windows project.

Note

To specify the image source via non-secure communication, please configure the following settings in your application. * iOS: https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity * Android: https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted