DuckChatInputModeState

The input mode currently displayed by the Duck.ai input widget.

Emits InputMode.SEARCH when no widget is showing, and the user's currently-selected tab while a widget is attached. Consumers can use this to drive ambient UI such as the NTP background logo.

Properties

Link copied to clipboard
abstract val displayedMode: StateFlow<InputMode>

The input mode currently being expressed to ambient UI.