hasAlpha property

bool get hasAlpha

Does the image have an alpha channel?

Implementation

bool get hasAlpha => alpha != null;