W3cubDocs

/Dart 2

fontSize property

String fontSize

Gets the value of "font-size"

Implementation

String get fontSize => getPropertyValue('font-size');
void fontSize= (String value)

Sets the value of "font-size"

Implementation

set fontSize(String value) {
  setProperty('font-size', value, '');
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/CssStyleDeclarationBase/fontSize.html