61 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
1
replies
102
views
How to force Flutter ShowCaseView to scroll a highlighted widget to the top instead of the center?
I am using the showcaseview package in Flutter to highlight sections of a long scrollable page.
The problem is:
When a widget is highlighted, ShowCaseView automatically scrolls it only to the middle ...
0
votes
1
answer
97
views
addListener on scroll controller to animateTo an offset is not working
While trying to create a snap effect on the header of a ReorderableListView, I have written below code. But the jobWidgetListener function is not animating my list items to the required offset.
In the ...
1
vote
0
answers
74
views
How to expand/contract a SliverAppBar shared via ShellRoute with GoRoutes?
This is a follow-up question. Here is the original: How to use CustomScrollView in a GoRouter ShellRoute?
I am trying to generate a CustomScrollView with a collapsible SliverAppBar at the top. Beneath ...
1
vote
0
answers
24
views
wrong work horizontal listview scroll in SlidingUpPanel
I use sliding up panel
I have two listview. One inside other. First vertical, second horizontal. When swipe horizontal listview, SlidingUpPanel also moves, if vertical listview not long enough. How ...
0
votes
1
answer
576
views
How to implement automatic collapsing/expanding of a section while scrolling in Flutter?
I'm working on a mobile application using Flutter and encountered a certain issue: I have a section on the screen that can be long and scrollable. I want this section to automatically collapse when it ...
0
votes
1
answer
89
views
Scrolling to the end of the ListView does not work as expected
I'm having a list of messages and after getting all the previous messages or after sending a new message, I want my ListView to get scrolled to the bottom.
I have created a ScrollController:
final ...
0
votes
1
answer
572
views
Flutter web cannot change the ScrollConfiguration of TextFormField widget
I am trying to always show scrollbar for my TextFormField.
I am wrapping it a Scrollbar, but I am unable to disable the default scrollbar of the TextFormField. So I end up seeing 2 scrollbars.
I am ...
0
votes
1
answer
530
views
How to reset scrollstate everytime I switch Tabs?
Whenever, I switch from About to Recs or References tab my scroll position in the tab is maintained across all tabs. I want it to reset everytime I switch tabs. i.e Scrolling should start from top and ...
0
votes
1
answer
94
views
flutter different scrollControllers have same offset value issue
Under one page, I have created two scroll controllers for two ListView.builder widgets. However, I don't know why when I scroll the first ListView, and click title "scroll example" to change ...
0
votes
1
answer
261
views
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 ...
0
votes
1
answer
432
views
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 ...
-1
votes
2
answers
1k
views
Why is Flutter's ScrollController's listener callback sometimes executed before setState?
I am developing using Flutter.
I encountered some unexpected behavior with widget rebuilds and ScrollControllers.
Below is the program that reproduces the issue.
In my understanding, I thought that ...
0
votes
1
answer
785
views
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 ...
0
votes
1
answer
88
views
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 ...
0
votes
0
answers
35
views
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 ...