setFont method
Sets the font for a given script and generic font family.
Implementation
Future<void> setFont(SetFontDetails details) async {
await promiseToFuture<void>($js.chrome.fontSettings.setFont(details.toJS));
}
Sets the font for a given script and generic font family.
Future<void> setFont(SetFontDetails details) async {
await promiseToFuture<void>($js.chrome.fontSettings.setFont(details.toJS));
}