isDisabled property
bool
get
isDisabled
Implementation
bool get isDisabled{
assert((){
if(control == null && (formGroup == null || name == null)){
throw FlutterError('ControlValueAcessor: model or formGroup and name must be provided to verify if value is disabled');
}
return true;
}());
if(control != null) return control!.disabled;
if(formGroup != null && name != null){
return formGroup!.control(name!).disabled;
}
return disabled;
}