Dart Documentationchrome.fontSettingsFontSettingsSetDefaultFontSizeParams

FontSettingsSetDefaultFontSizeParams class

class FontSettingsSetDefaultFontSizeParams extends ChromeObject {
 FontSettingsSetDefaultFontSizeParams({int pixelSize}) {
   if (pixelSize != null) this.pixelSize = pixelSize;
 }
 FontSettingsSetDefaultFontSizeParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The font size in pixels.
  */
 int get pixelSize => jsProxy['pixelSize'];
 set pixelSize(int value) => jsProxy['pixelSize'] = value;
}

Extends

ChromeObject > FontSettingsSetDefaultFontSizeParams

Constructors

new FontSettingsSetDefaultFontSizeParams({int pixelSize}) #

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

docs inherited from ChromeObject
FontSettingsSetDefaultFontSizeParams({int pixelSize}) {
 if (pixelSize != null) this.pixelSize = pixelSize;
}

new FontSettingsSetDefaultFontSizeParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int pixelSize #

The font size in pixels.

int get pixelSize => jsProxy['pixelSize'];
set pixelSize(int value) => jsProxy['pixelSize'] = value;

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();