disabled method

Option disabled(
  1. bool boolean
)

If this attribute is set, this option is not clickable. Read more...

Implementation

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