supportBlendModes top-level constant
Because native support is required,
only the modes supported by iOS/macOS
and Android
are included here.
Implementation
const supportBlendModes = <BlendMode>[
BlendMode.clear,
BlendMode.src,
BlendMode.dst,
BlendMode.srcOver,
BlendMode.dstOver,
BlendMode.srcIn,
BlendMode.dstIn,
BlendMode.srcOut,
BlendMode.dstOut,
BlendMode.srcATop,
BlendMode.dstATop,
BlendMode.xor,
BlendMode.darken,
BlendMode.lighten,
BlendMode.multiply,
BlendMode.screen,
BlendMode.overlay,
];