setMaterialState method
Mutator to mark a WidgetState value as either active or inactive.
Implementation
@protected
void setMaterialState(WidgetState state, bool isSet) {
return isSet ? addMaterialState(state) : removeMaterialState(state);
}
Mutator to mark a WidgetState value as either active or inactive.
@protected
void setMaterialState(WidgetState state, bool isSet) {
return isSet ? addMaterialState(state) : removeMaterialState(state);
}