From 088018fb880b5dd1dee51da163a3f9b79936cd38 Mon Sep 17 00:00:00 2001 From: SebastienBtr Date: Wed, 23 Oct 2019 22:02:48 +0200 Subject: [PATCH] Update readme example Column does not accept null widget --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74a338bb..db3a73be 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ class _MyAppState extends State { padding: EdgeInsets.all(20.0), child: Text("CURRENT URL\n${ (url.length > 50) ? url.substring(0, 50) + "..." : url }"), ), - (progress != 1.0) ? LinearProgressIndicator(value: progress) : null, + (progress != 1.0) ? LinearProgressIndicator(value: progress) : Container(), Expanded( child: Container( margin: const EdgeInsets.all(10.0),