readonly method

Textarea readonly([
  1. bool r = true
])

Implementation

Textarea readonly([bool r = true]) {
  if (r) attr('readonly', BooleanAttribute(true));
  return this;
}