TypedRule

@Serializable
data class TypedRule(val color: String, val icon: Icon, val selectedIcon: Icon? = null, val type: String) : StoresStyle.Rule

Structure for rules that apply to a given type.

Constructors

Link copied to clipboard
constructor(color: String, icon: Icon, selectedIcon: Icon? = null, type: String)

Properties

Link copied to clipboard
open override val color: String

The color to be used on the circle representation

Link copied to clipboard
open override val icon: Icon

The icon to be used when above a given breakpoint

Link copied to clipboard
open override val selectedIcon: Icon? = null

The icon to be used if the store is selected

Link copied to clipboard

The type on which this rule applies