ChromeOmnibox class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable bool
no setter
onDeleteSuggestion EventStream<String>
User has deleted a suggested result.
no setter
onInputCancelled EventStream<void>
User has ended the keyword input session without accepting the input.
no setter
onInputChanged EventStream<OnInputChangedEvent>
User has changed what is typed into the omnibox.
no setter
onInputEntered EventStream<OnInputEnteredEvent>
User has accepted what is typed into the omnibox.
no setter
onInputStarted EventStream<void>
User has started a keyword input session by typing the extension's keyword. This is guaranteed to be sent exactly once per input session, and before any onInputChanged events.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendSuggestions(int requestId, List<SuggestResult> suggestResults) → void
A callback passed to the onInputChanged event used for sending suggestions back to the browser. suggestResults An array of suggest results
setDefaultSuggestion(DefaultSuggestResult suggestion) Future<void>
Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar. suggestion A partial SuggestResult object, without the 'content' parameter.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited