Dart Documentationchrome.omniboxOnInputEnteredEvent

OnInputEnteredEvent class

User has accepted what is typed into the omnibox.

class OnInputEnteredEvent {
 final String text;

 /**
  * The window disposition for the omnibox query. This is the recommended
  * context to display results. For example, if the omnibox command is to
  * navigate to a certain URL, a disposition of 'newForegroundTab' means the
  * navigation should take place in a new selected tab.
  * enum of `currentTab`, `newForegroundTab`, `newBackgroundTab`
  */
 final String disposition;

 OnInputEnteredEvent(this.text, this.disposition);
}

Constructors

new OnInputEnteredEvent(String text, String disposition) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
OnInputEnteredEvent(this.text, this.disposition);

Properties

final String disposition #

The window disposition for the omnibox query. This is the recommended context to display results. For example, if the omnibox command is to navigate to a certain URL, a disposition of 'newForegroundTab' means the navigation should take place in a new selected tab. enum of currentTab, newForegroundTab, newBackgroundTab

final String disposition

final String text #

final String text