Tweaking comment on search screen (#577)

pull/579/head
Andrew Brogdon 4 years ago committed by GitHub
parent 134b64bcad
commit d30bfd59ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,9 @@ class _SearchScreenState extends State<SearchScreen> {
itemBuilder: (context, i) { itemBuilder: (context, i) {
if (i == 0) { if (i == 0) {
return Visibility( return Visibility(
//an invisible search box at the starting of the list so that overlay search box doesn't cover content // This invisible and otherwise unnecessary search box is used to
// pad the list entries downward, so none will be underneath the
// real search box when the list is at its top scroll position.
child: _createSearchBox(), child: _createSearchBox(),
visible: false, visible: false,
maintainSize: true, maintainSize: true,

Loading…
Cancel
Save