setValue method
type - the parameter to change.
Sets the properties based on the values.
Implementation
void setValue(MaterialProperty type, dynamic newValue) {
setValueFromString(type.name, newValue);
}
type - the parameter to change.
Sets the properties based on the values.
void setValue(MaterialProperty type, dynamic newValue) {
setValueFromString(type.name, newValue);
}