KWidgetModel

@Serializable
data class KWidgetModel(val id: String, val type: String, val tags: Array<String>, val icon: String?, val title: String, val initialColumn: Int, val initialRow: Int, val widthCells: Int = 1, val heightCells: Int = 1)(source)

Data blueprint representing a persistent layout node model saved to disk storage.

Constructors

Link copied to clipboard
constructor(id: String, type: String, tags: Array<String>, icon: String?, title: String, initialColumn: Int, initialRow: Int, widthCells: Int = 1, heightCells: Int = 1)

Properties

Link copied to clipboard

Row height size span.

Link copied to clipboard
val icon: String?

String path or name reference to the widget's icon resource.

Link copied to clipboard
val id: String

Unique string identifier for the widget runtime instance.

Link copied to clipboard

Grid column positioning coordinate.

Link copied to clipboard

Grid row positioning coordinate.

Link copied to clipboard

Array of string tags for categorizing the widget.

Link copied to clipboard

Display text header assigned to the widget view instance.

Link copied to clipboard

String routing key linking this data model to its registered Composable function.

Link copied to clipboard

Column width size span.