Monday, February 13, 2023
HomeiOS DevelopmentFlutter ios doesn't scroll correctly to the top

Flutter ios doesn’t scroll correctly to the top


I’ve some scrolls in my app and so they work completely within the android however within the ios they do not work correctly when they’re scrolled to the top.

enter image description here

it needs to be like this:

enter image description here

display code:
the 85 backside padding is for backside navigation.

ListView.separated(
                        padding: EdgeInsets.solely(
                            backside: constraints.maxHeight > (dimension.peak - 70)
                                ? 85
                                : 0),
                        itemBuilder: (context, index) {
                          ListModel listing = bookProvider.lists[index];
                          return HorizontalList(
                            listing: listing,
                            itemOnTap: (index) => Navigator.push(
                                context,
                                MaterialPageRoute(
                                  builder: (context) => BookDetailsScreen(
                                      ebook: listing.books[index]),
                                )),
                          );



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments