hasAlpha property

bool hasAlpha

Does the image have an alpha channel?

Implementation

bool get hasAlpha => alpha != null;