RawLogo
sealed class RawLogoRawLogo represents a logo that can be either a string URL or an object with light/dark variants Equivalent to RawLogo.swift in iOS
Inheritors
StringLogo |
ObjectLogo |
DictLogo |
Constructors
RawLogo | protected constructor() |
Types
| Name | Summary |
|---|---|
DictLogo | data class DictLogo(val light: HashMap <String , String >, val dark: HashMap <String , String >) : RawLogo |
ObjectLogo | data class ObjectLogo(val light: String , val dark: String ) : RawLogo |
StringLogo | data class StringLogo(val url: String ) : RawLogo |
Properties
urlString
val RawLogo.urlString: StringGet the URL string from RawLogo
Functions
getUrlString
fun RawLogo.getUrlString(context: Context? = null): StringGet the URL string from RawLogo based on theme
Last updated on