Update readme example
Column does not accept null widget
This commit is contained in:
parent
f6353b8f72
commit
088018fb88
@ -121,7 +121,7 @@ class _MyAppState extends State<MyApp> {
|
||||
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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user