Re:Announcing Flutter beta 1: Build beautiful native apps
by whowouldathunk on Tuesday February 27, 2018 @02:42PM
(#16477121)
Not sure why you're being downvoted. XAML definitely supports complex widget composition in markup. Since the XML is basically just describing an object graph, it's a more concise way of writing the equivalent imperative code:
<Button>
<StackPanel>
<Image/>
<TextBlock/>
...
<Button>
<Canvas>
<Ellipse/>
although the Dart syntax makes this look similar, albeit a little more verbose, if you squint.Full disclosure: I work at Microsoft.
You can do this in XAML since 2006, and JSP since 2004.