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