kspo / super_cupertino_navigation_bar

This package offers a collapsible app bar along with an attractive search bar animation, enhancing the visual appeal of your Flutter app with an iOS-inspired design. This package is versatile, allowing complete customization, and it seamlessly works on both iOS and Android platforms.
https://pub.dev/packages/super_cupertino_navigation_bar
MIT License
64 stars 9 forks source link

Dynamic body length #4

Closed eikebartels closed 3 months ago

eikebartels commented 8 months ago

Hello, thanks for this sweet package. It works quite well.

I have a huge list which I would like to display. How can this be archived with the current implementation? Since any ListView.builder will not work with the nested scrollviews right?

kspo commented 8 months ago

you must use shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), for any scrollable widget that is placed in the body.

eikebartels commented 8 months ago

Hey @kspo thanks for your answer, yes I notice this but thats also is the thing. How can that work with generated lists then?

Anyway Ill dig deeper to figure out how and will eventually provide an improvement PR :)

kspo commented 8 months ago

Sure :) I appreciate any contribution 👍

kspo commented 8 months ago

@eikebartels checkout version 2.1.0 from pub.dev. SuperScaffold body can be any widget now