opacity property Null safety

double? opacity

An opacity to apply to both explicit and default icon colors.

Implementation

double? get opacity => _opacity?.clamp(0.0, 1.0);