iconManifest property

Map<String, dynamic> get iconManifest

Icon config for manifest.json

 {
        "src": "icons/Icon-maskable-192.png",
        "sizes": "192x192",
        "type": "image/png",
        "purpose": "maskable"
 },

Implementation

Map<String, dynamic> get iconManifest {
  return <String, dynamic>{
    'src': 'icons/$iconFile',
    'sizes': '${size}x$size',
    'type': 'image/png',
    if (maskable) 'purpose': 'maskable',
  };
}