more UI-as-code (#35516)

This commit is contained in:
Alexandre Ardhuin
2019-09-17 16:23:44 +02:00
committed by GitHub
parent d03aecab58
commit df4bf453ab
117 changed files with 1728 additions and 2132 deletions

View File

@@ -34,7 +34,7 @@ class _ExampleWidgetState extends State<ExampleWidget> {
});
},
),
_pressed ? GeneratedWidget() : const SizedBox(),
if (_pressed) GeneratedWidget() else const SizedBox(),
],
),
),