LOCAL_FONTS property
final
Indicates permission to use fonts on the device. Permission is requested when developers use the Local Font Access API to query the system fonts available for styling web content.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - COREWEBVIEW2_PERMISSION_KIND_LOCAL_FONTS)
Implementation
static final LOCAL_FONTS = PermissionResourceType._internalMultiPlatform(
'LOCAL_FONTS',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.windows:
return 10;
default:
break;
}
return null;
},
);