Address
data class Address(val path: String, val config: PageConfig = emptyConfig, val content: @Composable () -> Unit = {}, val matchKey: String = path)
地址,用于定义一个页面地址
Parameters
path
该地址的路径
config
页面的配置
content
页面内容本体
match Key
用于匹配的key
Constructors
Link copied to clipboard
constructor(path: String, config: PageConfig = emptyConfig, content: @Composable () -> Unit = {}, matchKey: String = path)