KWidget
annotation class KWidget(val type: String, val title: String = "", val tags: Array<String> = [], val icon: String = "", val widthCells: Int = 1, val heightCells: Int = 1)(source)
Annotation marker applied directly to Composable widget functions to register them into the project's central routing registry and metadata catalog via KSP generation.
Properties
Link copied to clipboard
Default vertical grid cell span.
Link copied to clipboard
Unique string key matching incoming KWidgetModel.type parameters.
Link copied to clipboard
Default horizontal grid cell span.