GetFontDetails constructor

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

Implementation

GetFontDetails({
  /// The script for which the font should be retrieved. If omitted, the font
  /// setting for the global script (script code "Zyyy") is retrieved.
  ScriptCode? script,

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