Dart Documentationchrome.omniboxDefaultSuggestResult

DefaultSuggestResult class

A suggest result.

class DefaultSuggestResult extends ChromeObject {
 DefaultSuggestResult({String description}) {
   if (description != null) this.description = description;
 }
 DefaultSuggestResult.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The text that is displayed in the URL dropdown. Can contain XML-style
  * markup for styling. The supported tags are 'url' (for a literal URL),
  * 'match' (for highlighting text that matched what the user's query), and
  * 'dim' (for dim helper text). The styles can be nested, eg.
  * <dim><match>dimmed match</match></dim>.
  */
 String get description => jsProxy['description'];
 set description(String value) => jsProxy['description'] = value;
}

Extends

ChromeObject > DefaultSuggestResult

Constructors

new DefaultSuggestResult({String description}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
DefaultSuggestResult({String description}) {
 if (description != null) this.description = description;
}

new DefaultSuggestResult.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
DefaultSuggestResult.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

String description #

The text that is displayed in the URL dropdown. Can contain XML-style markup for styling. The supported tags are 'url' (for a literal URL), 'match' (for highlighting text that matched what the user's query), and 'dim' (for dim helper text). The styles can be nested, eg. <dim><match>dimmed match</match></dim>.

String get description => jsProxy['description'];
set description(String value) => jsProxy['description'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();