31 questions
0
votes
0
answers
27
views
NestedScrollView Issue with not stopping on reached to top of screen view is going under the Sliver App bar
return DefaultTabController(
length: 2,
child: NestedScrollView(
headerSliverBuilder: (context, innerBoxIsScrolled) {
return [
SliverAppBar(
...
0
votes
1
answer
552
views
How to fix scrolling of TabBarView in CustomScrollView relative to content size?
The flutter docs provides a nice example on how to have a floating app bar above a list using CustomScrollView. The code in their example exhibits exactly the behavior I want, that is, for the app bar ...
0
votes
1
answer
443
views
Flutter ScrollablePositionedList not scrolling to a specific index
In my flutter application, I'm trying to open a bookmark and scroll to the specific index. I'm using ScrollablePositionedList for it but it's not working. The page loads fine but doesn't scroll to the ...
1
vote
1
answer
173
views
How to detect all clicks in Scaffold ScrollBar body
I want to detect all clicks, scrolls, etc. There will be a counter for this. How can I do this?
My code:
return Scaffold(
body: Scrollbar(
child: Column(
children: [...
1
vote
1
answer
328
views
Is there a way to utilize Shift key + Mouse Wheelcroll to sideways scroll in flutter ScrollView?
In my flutter app, I have a section that can scroll both vertically and horizontally. What I am wanting to do is hold the Shift Key and scroll with my mouse wheel to enable horizontal scrolling ...
0
votes
1
answer
69
views
I can't scroll the login page, even when the keyboard appears it still scrolls
enter image description here
enter image description here
i am using TextFormField
-1
votes
1
answer
92
views
How follow user scroll motion in flutter?
I can't find solution how can I follow scroll user motion.I tried use slivers but don't helped.
When the user is at the top of the list and scrolls down, shows the search bar (show will follow the ...
0
votes
1
answer
290
views
Incorrect Scrollbar Position in Flutter
I am trying to add scrollbars vertically and horizontally. I have used Adaptive Scrollbar package.
return LayoutBuilder(
builder: (context, constraints) {
return Padding(
padding: const ...
0
votes
1
answer
39
views
Scroll List item
I want to scroll a list of widgets together like in the given video.
Preview Link
i try below code but it's not working. please guide me if do any changes.
ListView.separated(
physics: ...
0
votes
0
answers
35
views
above widgets are done by pageview builder and below is listview builder
I want to make it responsive like if I move the slider then correspondent list which is below should be highlighted and should move according to the slider.
I have tried PageView controller to pass in ...
-1
votes
1
answer
4k
views
Flutter - ScrollController was used after being disposed
class HomeScreen extends StatefulWidget {
final userName;
HomeScreen(this.userName);
@override
State<HomeScreen> createState() => _HomeScreenState();
}
Future<...
0
votes
1
answer
503
views
Flutter - Form inside PageView not scrolling
I am trying to build a multi-page registration screen with each page having a Form displayed within a PageView for each and smooth sliding effect. My only trouble is when the keyboard is displayed, ...
0
votes
3
answers
113
views
Scrolling in flutter
For me, scrolling in flutter is not working, So I wrote a simple test code as below to show the problem, how can I make this content to scroll? Can someone help.
import 'package:flutter/material.dart';...
1
vote
2
answers
464
views
Replacing item by id of object in Flutter from listview.builder
I am using the scrollable_positioned_list as seen here https://pub.dev/packages/scrollable_positioned_list to scroll to a specific item when a notification occurs.
By default the builder take the ...
5
votes
3
answers
3k
views
Can't add ScrollBar to ScrollablePositionedList (it doesn't have a ScrollController)
I'm using the scrollable_positioned_list package, and have it rendering a large dynamic list. It works very well. However, I need my list to have a scrollbar (something like this). So far, this is ...
1
vote
4
answers
2k
views
I want to scroll up after the all childs of ListView have been scrolled up, parent widget of listview is SingleChildScrollView in flutter
I have SingleChildScrollView as a parent and in that, I have two listviews each list view is wrapped with SizedBox with a specific height (like 700), what I want is, when I scroll up all the views ...
0
votes
0
answers
508
views
Scrollbar is not visible when wrapping listView Builder with SingleChildScrollView or ListView
**> Here is my code. it contains a ListView builder which is wrapped with
RawScrollBar widget and they both wrapped with SingleChildScrollView
Widget. I want a show ScrollBar in ListView.Builder**...
2
votes
1
answer
2k
views
Flutter scrollbar that is in horizontal scrollview doesnt show correctly inner scrollview
So, I have bigger scroll view that scrolls horizontally, and inside - little box (red color) and smaller scrollview (orange color) that scrolls vertically.
There are two scrollbars on the bigger ...
1
vote
1
answer
2k
views
Using Dynamically-Sizing Tab View Nested in Scrollview in Flutter
I'm trying to nest a tabview in a Scrollview, and can't find a good way to accomplish the task.
A diagram is included below:
The desired functionality is to have a normal scrollable page, where one ...
2
votes
0
answers
933
views
Flutter testing: How can you scroll with DropDownButton?
I failed to apply the Handle scrolling documentation with widget DropdownButton and DropdownButtonFormField.
I attempted to create a list of 10 000 strings, scroll to find the 750th and tap it.
The ...
0
votes
1
answer
36
views
I can't Scroll my Screen when using SingleChildScollView in flutter
I am trying to make my main screen scrollable using SingleChildScrollView but it's not working as expected
here is my code:
SingleChildScrollView(
child: Column(
children: [
...
1
vote
4
answers
3k
views
Draggable Scrollable Sheet becomes unscrollable when we set it's child to a column
I have the following code for a DraggableScrollableSheet in Flutter.
DraggableScrollableSheet(
builder: (BuildContext context, ScrollController scrollController) {
return ClipRRect(
...
0
votes
1
answer
754
views
Issue with nested scroll when both scroll are always visible (Flutter Stable Channel)
The issue is on web when we try to scroll the vertically scrollable widget which is a child of horizontally scrollable widget where scroll bar is always visible.
When we scroll the horizontally ...
1
vote
1
answer
5k
views
Flutter ScrollController is not work properly
In my flutter app, I try to use scrollController to scroll listview in listBuilder but ScrollController is not working properly. It doesn't show errors or exceptions but the List is not scrolling. ...
0
votes
1
answer
3k
views
Flutter web tabbarview scrollcontroller not responding to keyboard scrolling
I've created two tabs.
In each tab I have SingleChildScrollView wrapped with Scrollbar.
I can not have the primary scrollcontroller in both the tabs, because that throws me exception: "...
0
votes
0
answers
125
views
Flutter Web - Scrollbar with ListView - _positions.isNotEmpty "ScrollController not attached to any scroll views
This is my Tree:
This is the code for the build function:
return Scaffold(
resizeToAvoidBottomInset: false,
body: Scrollbar(
isAlwaysShown: true,
controller: controller,
child: ...
1
vote
2
answers
1k
views
Flutter ListView - how to start scroll at the bottom
I'm new to Flutter and UI development in general and I'm stuck so I need some help!
I'm trying to build a list of video posts in my application with lazy loading / infinite scrolling. The lazy loading ...
0
votes
1
answer
997
views
Attaching horizontal and vertical scrollbar to the same widget
I want to create a viewport that could be horizontally and vertically scrolled. I am able to achieve this by using two nested SingleScrollChildView. The problem is that the horizontal scrollbar is not ...
1
vote
1
answer
282
views
flutter How do I display `floating: true` as much as the Widget height size in SliverAppBar? (in CustomScrollView)
I create a list scroll with CustomScrollViews in Flutter.
I want
1st and 3rd row is fix
The 2rd row should be hide
When scrolling down, the widget(=2rd row) is fully displayed without breaking. 🚩
...
0
votes
2
answers
2k
views
How to constrain the width of GridView with a Scrollbar in Flutter?
I am trying to display a scrollbar on the right-hand side of a ScrollView (a GridView in this case) but constraining the width of the scrollable area while still displaying a scrollbar on the right-...
1
vote
1
answer
817
views
Child Scrollbar affects parent scrollbar?
I have Scrollbar at a high level and child scrollbar a few levels down the tree. When scrolling the child, the parent scrolls too. Just the scrollbar shows and moves in the parent. This does not ...