LOCAL_FONTS property

PermissionResourceType LOCAL_FONTS
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:

Implementation

static final LOCAL_FONTS = PermissionResourceType._internalMultiPlatform(
  'LOCAL_FONTS',
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.windows:
        return 10;
      default:
        break;
    }
    return null;
  },
);