NavArgument

annotation class NavArgument(val name: String, val type: NavArgumentType = NavArgumentType.String, val nullable: Boolean = false, val defaultValue: String = "")

Represents a navigation argument in a navigation destination. Using this annotation will generate a NavArgumentKey entry in the navigation destination and will register this argument in the navigation destination's arguments list.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val nullable: Boolean = false
Link copied to clipboard