opaque property Null safety

bool opaque

True if the navigation bar's background color has no transparency.

Implementation

bool get opaque => backgroundColor?.alpha == 0xFF;