Skip to content

Commit

Permalink
Update readme example
Browse files Browse the repository at this point in the history
Column does not accept null widget
  • Loading branch information
SebastienBtr authored Oct 23, 2019
1 parent f6353b8 commit 088018f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 088018f

Please sign in to comment.