OnFontChangedDetails constructor
OnFontChangedDetails({
- required String fontId,
- ScriptCode? script,
- required GenericFamily genericFamily,
- 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,
);