Color? enable(bool enable) { if (this == Colors.transparent) return this; return enable ? this : this?.withValues(alpha: 0.5); }