ClearFontDetails constructor

ClearFontDetails({
  1. ScriptCode? script,
  2. required GenericFamily genericFamily,
})

Implementation

ClearFontDetails({
  /// The script for which the font should be cleared. If omitted, the global
  /// script font setting is cleared.
  ScriptCode? script,

  /// The generic font family for which the font should be cleared.
  required GenericFamily genericFamily,
}) : _wrapped = $js.ClearFontDetails(
        script: script?.toJS,
        genericFamily: genericFamily.toJS,
      );