Questions tagged [flutter-sliver]

A Sliver is a portion of a scrollable area that animate on scroll events, like stick to the top or expand when pulled to the bottom. You can use slivers to achieve custom scrolling effects. Flutter has a few Sliver implementations out of the box, such as SliverList, SliverGrid and SliverAppBar.

A Sliver is a portion of a scrollable area that animate on scroll events, like stick to the top or expand when pulled to the bottom.

Flutter has a few Sliver implementations out of the box, such as:

Check this page on the docs for general Sliver information in flutter.

460 questions
0
votes
1 answer

Is there any way I can use a SliverGrid outside a ScrollView?

I was trying to use a GridView without a scrolling behavior, and I achieved it by setting the "primary" attribute to false. By doing so I noticed that when one scrollable widget are nested to another, the card shadow gets this weird effect. Note the…
icazevedo
  • 572
  • 4
  • 10
-1
votes
1 answer

How do I an extra widget in between SliverAppBar and SliverList/Grid?

I want to add a similar item between my SliverAppBar and SliverList. I tried using a regular Row, but it kept throwing an exception. I know about SliverPadding, so I was wondering if there's something similar. Any help would be greatly appreciated.
Abin
  • 15
  • 3
-1
votes
1 answer

Getx How to refresh list by using Obx

I'm working with ReorderableSliverList but I have no idea how to observe the list based on my data dynamically. Screen 1 ReorderableSliverList( delegate: ReorderableSliverChildBuilderDelegate( (BuildContext context, int…
scarlet pro
  • 181
  • 12
-1
votes
2 answers

bottomNavigationBar with CustomScrollView Renderflex Error

I have a CustomScrollView and bottomNavigationBar. The bottomNavigationBar disappears when I scroll up. This is configured via the below AnimatedContainer settings. height: _bottombarisVisible ? 80 : 0, Works fine except am encountering the below…
-1
votes
1 answer

Too much refresh in sliverpersistentheader when ChangeNotifiers trigger

I have a flutter app in making with a SliverPersistentHeader (SPH, via delegate, acting as AppBar) which should display updated user-specific score/points/credits. This value get periodically recalculated in background and I get it refreshed via a…
-1
votes
1 answer

How can i return diffrent Sliver depending on which item the user clicked without rebuilding the whole StatefullWidget

I'm Having a problem as i said in the title which is mainly about slivers and displaying diffrent slivers depending on which menu Item clicked (SliverListView) . ListMenu.dart class _ListMenuState extends State { final List
0 x 5 4 4 D
  • 177
  • 1
  • 13
-1
votes
1 answer

Transparent overlapping appbar

I'm trying to find a way to have a transparent appbar that overlaps the page content. I know I can use a SliverAppBar to show the appbar initially, and then have it slide out of view when scrolling, which is good. I can even give it a transparent…
Nairou
  • 3,585
  • 5
  • 29
  • 47
-1
votes
2 answers

Flutter Gridview under NestedScrollView TabBar Not working

Here is my structure:- new NestedScrollView( headerSliverBuilder( SliverAppBar(..) ) TabBarView( 1> GridView.builder() 2> Normal Text ) While I scroll my grid view tab bar won't collapse..but Normal text will work…
sk sakil
  • 186
  • 1
  • 12
-1
votes
1 answer

my flutter app is not fitting in different devices

new Container( margin: const EdgeInsets.fromLTRB(20.0, 10.0, 20.0, 10.0), color: Colors.black12, child: new Row( children: [ new Image.asset('images/driver.jpeg', …
-2
votes
1 answer

Scroll background container in Flutter

I am trying to build scrollable screen, where brown background Container must scroll with List of elements when black container near this container. How can I do it? I thought about Positioned, but I can't build items above SliverAppbar even if I…
1 2 3
30
31