open method

Dialog open(
  1. bool boolean
)

Indicates that the dialog is active and can be interacted with. Read more...

Implementation

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