height method

Input height(
  1. int pixels, {
  2. bool? removeIf,
})

Same as height attribute for <img>. Read more...

Implementation

Input height(int pixels, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('height', pixels.toString());
    node.attrs!.add(attr);
  }
  return this;
}