controls method
If this attribute is present, the browser will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback. Read more...
Implementation
Video controls(bool boolean) {
if (boolean && node.attrs != null) {
VirtualAttr attr = VirtualAttr('controls', '');
node.attrs!.add(attr);
}
return this;
}