disabled method

TextArea disabled(
  1. bool boolean
)

This attribute indicates that the user cannot interact with the control. Read more...

Implementation

TextArea disabled(bool boolean) {
  if (boolean && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('disabled', '');
    node.attrs!.add(attr);
  }
  return this;
}