Questions tagged [scrollcontroller]
55 questions
1
vote
1 answer
Expansion Panel List Flutter Scroll Controller
I want to add items to ExpansionPanelList when ExpansionPanelList is scrolled to the end but there is no ScrollController like ListView for ExpansionListView.is there a solution for this?

Amir Hossein Ohadi
- 33
- 1
- 4
1
vote
0 answers
Pass scrollcontroller to flutter overlay
I have a custom Selectbox created in flutter, on focus it opens and I am able to naviagte between the items with the arrowkeys (upd, donw) and select an item with enter, the overlay is attached to a readonly textfield, I handle the keyboard events…

MWD
- 11
- 3
1
vote
0 answers
Scroll and controller priority flutter
i have a CupertinoModalBottomSheet that is closing by scrolling down. And in this page i have image that i can pinch by two fingers. Is there any way to change priority to pinching when two fingers on screen. Because when i put two fingers on screen…

De_baha
- 31
- 2
1
vote
0 answers
flutter Scrollcontroller not scrolling all members of a stack
I am using Riverpod for state management in flutter. The fabButton included in a stack that should scroll with other elements in a sliverAppBar does not scroll. Other elements scroll but the FAB. Below are images of the simulation and the code. Not…

Obisi7
- 485
- 1
- 5
- 18
1
vote
1 answer
Flutter dropdown with scroll controller?
Trying to find a dropdown example with scroll controller. What I'm trying to achieve is to load more data when it reach the end of the dropdown, I tried DropdownButton and PopupMenuButton, both no luck as it didn't have a scroll controller…

RINDAMAN
- 33
- 3
1
vote
2 answers
How can I detect continuously if scrolling is disabled in Flutter?
I want to constantly check if scrolling is not possible.
@override
void initState() {
super.initState();
WidgetsBinding.instance!.addPostFrameCallback((duration) {
print("${_scrollViewController.position.maxScrollExtent}");
…

aimyon
- 63
- 3
1
vote
2 answers
In flutter app how put data from header to appBar
I have ListView and when I'm scrolling the list I want to show data from header which extends beyond the top of the screen in appBar. StickyHeader do not suggest. I specifically need to show information from the header in the appBar I was trying to…

Vasyl
- 154
- 1
- 1
- 9
1
vote
1 answer
Flutter List View Builder Scroll Controller is not working
I have a Instagram like app with stories on the top and then feed data. I want my feed list view to scroll to the top in a function (i.e. button click or whatever).
ScrollController _feedController;
@override
void initState() {
…

Muneeb Ahmad
- 79
- 3
- 10
1
vote
0 answers
Flutter: Binding CustomPainter with ScrollController
I have a CustomPainter like below and I want it to bind with a parent widget containing a ListView.builder how do I do that?
Expected Behaviour: the painter should paint as I scroll up or down.
import 'dart:math';
import…

White Knife
- 87
- 6
0
votes
0 answers
ScrollController Not Working Showing Values As Expected
So I have this RefreshIndicator() which requires RefreshController and a child which is SinglechildScrollView() and I need to add scrollController in it to be able to manipulate the showing and hiding of a widget when a certain position in the…

Davis
- 1,219
- 2
- 8
- 17
0
votes
1 answer
ScrollController to multiple scroll views. Flutter with Cubit
I have in my code a TabBar that if login is true it will display certain screens and if it is false it will display others, when I log in and I go to the option to log off to return to the login screen everything is fine but I can no longer navigate…

Natan
- 9
- 2
0
votes
1 answer
Using Nested Litview for Comments and Replies in fluttter
I have a comments and replies system.
Replies against comments
I want to make nested listview scroll all the way to bottom when a reply is added, right now, it takes me to the bottom of second last reply, but not to the last reply I added
What I…
0
votes
1 answer
Automatic scrolling with animated typer animated text kit in flutter
I am looking for a way to implement this in Flutter. Auto-scroll as animated text kit typer is typing out contents like following
I tried using this as a function for the scrollController in a listview but it only gets stuck
scrollToListBottom()…

Melchizedek
- 1
- 2
0
votes
1 answer
How to make scrollController attach to scrollbar after switching to a different navigation tab
I am building a flutter mobile app. There is a BottomNavigationBar in this page and 2 tabs in it. like this
tab1:
tab2:
in tab1 there is a button
in tab2 there is a SingleChildScrollView(code is following)
I want to when I click the button, the…

Gotchu
- 11
- 1
0
votes
0 answers
On click of text , i want the list view builder to show that container of that specific text
I am implementing scrollcontroller flutter according to A , B , C text .
and using a listview builder on same page to show all data of that A.
For example clicking on A , screen will scroll automatically and will be shown container having names…