render method

  1. @override
HTMLElement render()
override

Creates an HTML Element represention of Component.

Implementation

@override
HTMLElement render() {
  final element = super.render() as HTMLElement;
  element.style.whiteSpace = 'pre-wrap';

  for (final child in children!) {
    element.append(child.render());
  }

  return element;
}