setStyleProperty method

String? setStyleProperty(
  1. String name,
  2. String value
)

Implementation

String? setStyleProperty(String name, String value) {
  var style = this.style;
  var prev = style.getAsString(name);
  style.put(name, value);
  this.style = style;
  return prev;
}