isEnable property

bool isEnable
final

Controls whether the button is enabled.

If false, the button uses a disabled background color and onPressed won't execute unless isForceTap is set to true.

Implementation

final bool isEnable;