OnFontChangedDetails constructor

OnFontChangedDetails({
  1. required String fontId,
  2. ScriptCode? script,
  3. required GenericFamily genericFamily,
  4. required LevelOfControl levelOfControl,
})

Implementation

OnFontChangedDetails({
  /// The font ID. See the description in `getFont`.
  required String fontId,

  /// The script code for which the font setting has changed.
  ScriptCode? script,

  /// The generic font family for which the font setting has changed.
  required GenericFamily genericFamily,

  /// The level of control this extension has over the setting.
  required LevelOfControl levelOfControl,
}) : _wrapped = $js.OnFontChangedDetails(
        fontId: fontId,
        script: script?.toJS,
        genericFamily: genericFamily.toJS,
        levelOfControl: levelOfControl.toJS,
      );