Issue I have NestedScrollView as such: headers: [ SliverToBox(), // This scrolls away SliverPersistentHeader(), // This needs to pin ] body: TabBarView() // Classic TabBar view with multiple pages This is how it looks unscrolled: This is how it looks
Continue readingTag: flutter-sliver
Title Alignment in Sliver SpaceFlexibleBar
Issue Im very desperate. Im new to flutter and following the tutorials in YT. There I came across following problem and wonder how Im the only on. In the YouTube (https://www.youtube.com/watch?v=YY-_yrZdjGc&list=PLjxrf2q8roU3wk7CDw4RfV3mEwOJbjx1k&index=5) video one gets explained how to use sliver. I
Continue readingHow to achieve sliver in flutter when collapsing content is dynamic
Issue I have a requirement to develop a screen where there is collapsible content to be achieved using sliver. However, the height of collapsible content is dynamic and depends on the number of dynamic widgets applicable to the user (some
Continue readingA widget in my SliverAppBar is causing a bottom overflow, how do i correct this in flutter?
Issue I use a SliverAppBar and use flexibleSpace title instead of the default sliver title, on portrait mode, it is perfectly fine as shown : But when i get to landscape mode it causes a bottom overflow by 13px, VScode
Continue readingHow to achieve horizontal grid scroll with sliver
Issue How to get horizontal grid view similar to this example using sliver:[]. I’ve tries using he example given here but it is using mutiple container inside children to get the desired result. also tries giving it to list.generate but
Continue readingIs there a way to use ListView.Builder in a Column without shrinkwrap?
Issue I’m attempting to place a ListView.builder inside a Column that is a peer to a SliverAppBar. Because of this I need to leverage a CustomScrollview and a SliverToBoxAdapter so that the Column can reside inside the CustomScrollView. This all
Continue readingCenter `CustomScrollView` if has space
Issue I have the folowing code: return Scaffold( body: CustomScrollView( physics: const AlwaysScrollableScrollPhysics( parent: BouncingScrollPhysics(), ), controller: controller, slivers: [ SliverToBoxAdapter( child: Center( child: Padding( padding: const EdgeInsets.symmetric(vertical: 64), child: Text( ‘Title’, style: theme.textTheme.titleLarge?.copyWith( fontWeight: FontWeight.bold, color: theme.colorScheme.onPrimary, ), ),
Continue readingFlutter controll scrolling priority
Issue I have a code that has these main widgets: CustomScrollView( physics: const AlwaysScrollableScrollPhysics( parent: BouncingScrollPhysics(), ), slivers: [ SliverFillRemaining( hasScrollBody: true, child: ListView( children: [], ), ), ], ), I have it this way because around the ListView widget
Continue readingHow to achieve Cupertino Style Navigation Bar with a cupertino search field inside it
Issue I am developing an iOS application in flutter. I want a navigation bar which can be expandable. On expand there should be large title on left side and on collapse same title should be on top center. This thing
Continue readingFlutter FutureBuilder in SliverList
Issue I want to list items from a FutureBuilder inside a SliverList. I found a possible solution here How to use FutureBuilder inside SliverList but not worked for me. This is my code, it works, but i cannot declare the
Continue reading