> The killer feature of building UI elements in code is that you can build up more complex widgets from simpler ones using composition.
You can do this in XAML since 2006, and JSP since 2004.
You can do this in XAML since 2006, and JSP since 2004.
<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.