diff --git a/engine/src/flutter/README.md b/engine/src/flutter/README.md
index ac26662094..8a5673248d 100644
--- a/engine/src/flutter/README.md
+++ b/engine/src/flutter/README.md
@@ -72,10 +72,10 @@ SKY MODULE
class extends SkyElement {
constructor () {
this.addEventListener('click', (event) => this.updateTime());
- this.createShadowTree().appendChild('Click to show the time');
+ this.shadowRoot.appendChild('Click to show the time');
}
updateTime() {
- this.shadowTree.firstChild.replaceWith(new Date());
+ this.shadowRoot.firstChild.replaceWith(new Date());
}
}
diff --git a/engine/src/flutter/examples/radio.sky b/engine/src/flutter/examples/radio.sky
index 5c9be9dbf1..36daa1c349 100644
--- a/engine/src/flutter/examples/radio.sky
+++ b/engine/src/flutter/examples/radio.sky
@@ -1,6 +1,9 @@
SKY MODULE - radio button and radio button group
-
+
+
@@ -10,8 +13,7 @@ SKY MODULE - radio button and radio button group