ItemScreenData

constructor(jetpackId: String = UUID.randomUUID().toString(), jetpackName: String = "", jetpackPrice: String = "", navigateBack: OneTimeEvent<Boolean> = OneTimeEvent(false))(source)

Parameters

jetpackId

Unique identifier for the Jetpack item (UUID for new items).

jetpackName

Display name of the Jetpack library (e.g., "Compose", "Room").

jetpackPrice

Price exactly as typed, kept as text so a partially entered or cleared value survives; parsed to a Double only when the item is saved.

navigateBack

Consumable request to navigate back after the save call returns.