icon property

IconData? icon
final

Optional icon used by export menus and other format-aware UI.

Custom formats may omit the icon; consumers should provide a generic file/export fallback in that case. Icon metadata is intentionally not part of format equality because it does not affect the export contract.

Implementation

final IconData? icon;