Prevent overscroll on the search suggestions

This commit is contained in:
vishnukvmd 2022-08-11 18:26:07 +05:30
parent 300508305c
commit 1b308a8704

View file

@ -39,6 +39,7 @@ class SearchSuggestionsWidget extends StatelessWidget {
maxHeight: MediaQuery.of(context).size.height * 0.5,
),
child: ListView.builder(
physics: const ClampingScrollPhysics(),
shrinkWrap: true,
itemCount: results.length + 1,
itemBuilder: (context, index) {