Commit 57e2df11 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Fix demo for recent TextPainter changes. (#11997)

parent d868044e
...@@ -80,5 +80,5 @@ class _PlatformChannelState extends State<PlatformChannel> { ...@@ -80,5 +80,5 @@ class _PlatformChannelState extends State<PlatformChannel> {
} }
void main() { void main() {
runApp(new PlatformChannel()); runApp(new MaterialApp(home: new PlatformChannel()));
} }
...@@ -80,5 +80,5 @@ class _PlatformChannelState extends State<PlatformChannel> { ...@@ -80,5 +80,5 @@ class _PlatformChannelState extends State<PlatformChannel> {
} }
void main() { void main() {
runApp(new PlatformChannel()); runApp(new MaterialApp(home: new PlatformChannel()));
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment