Relative Content

Tag Archive for flutterflutter-sliver

How can I properly combine Sliver in a MultiBlocProvider in Flutter?

There are Questions here that sound similar, but don’t solve my specific issue, and I cannot seem to extract the information to get it to run. I have a MultiSliver I want to display, I get however the following Error Message. I tried using SliverToBoxAdapter, but I cannot seem to figure out where to put it.

NestedScrollView with Material3: _StretchController throws an error

I’m starting a new app with auto_route as router. The main screen has a nested navigation with a bottom navigation bar. My MainScreen has 2 nested routes FooPage and BarPage. There is an AppBar on the top of the screen. I don’t want it to flicker when I change between the pages, so the appbar is included in MainScreen. I want the Bounce physics and the bodies of my pages are Slivers. That’s why I went for a NestedScrollView.