Skip to Content

RawLogo

sealed class RawLogo

RawLogo 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

RawLogoprotected constructor()

Types

NameSummary
DictLogodata class DictLogo(val light: HashMap <String , String >, val dark: HashMap <String , String >) : RawLogo
ObjectLogodata class ObjectLogo(val light: String , val dark: String ) : RawLogo
StringLogodata class StringLogo(val url: String ) : RawLogo

Properties

urlString

val RawLogo.urlString: String

Get the URL string from RawLogo

Functions

getUrlString

fun RawLogo.getUrlString(context: Context? = null): String

Get the URL string from RawLogo based on theme

Last updated on