@hzmnet
tl;dr; template languages only benefit are being 'language' agnostic before parsing the dom.
they don't provide any other benefit over flutters approach.
HTML template,XML template != DOM
I never said they were the same. My point was in order to render HTML it gets parsed into an object tree (the dom), which is then manipulated by a programming language (usually javascript). this is exactly what flutter is doing except you don't need to convert templates to the object tree first.
using a template you dont need to write children and event and style and so on...
not sure what your point you're trying to convey. you absolutely need to specify children, events, styles in HTML. parsers won't automagically insert elements that were not specified.