isEnabled property

bool isEnabled
final

isEnabled expects a boolean This will enable or disable button

Implementation

final bool isEnabled;