setAttribute<T> method

void setAttribute<T>(
  1. C uiComponent,
  2. String name,
  3. dynamic value
)

Implementation

void setAttribute<T>(C uiComponent, String name, dynamic value) {
  var attribute = getAttributeHandler(name);
  if (attribute != null) {
    attribute.set(uiComponent, value);
  }
}