W3cubDocs

/Dart 2

fontStyle property

String fontStyle

Gets the value of "font-style"

Implementation

String get fontStyle => getPropertyValue('font-style');
void fontStyle= (String value)

Sets the value of "font-style"

Implementation

set fontStyle(String value) {
  setProperty('font-style', value, '');
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/CssStyleDeclarationBase/fontStyle.html