disabledOpacity property

double disabledOpacity
final

The opacity of the foreground color when a widget is disabled. Defaults to 0.5.

Contract

Throws AssertionError if the value is less than 0 or greater than 1.

Implementation

final double disabledOpacity;