flutter-listview Questions
3
Right now I am using a column to display several widgets:
Column(
children: [
Text('1'),
Text('2'),
Spacer(),
Text('3'),
Text('4'),
],
),
So the screen looks like this:
---
1
2
3
4
-...
Sisera asked 18/6, 2021 at 9:36
7
I have a list of ExpansionTile with a list of ListTile in a Drawer. What I want to achieve is, when I press an ExpansionTile, the another ExpansionTile must be collapsed. I had been stuck with this...
Steelyard asked 20/5, 2022 at 8:25
3
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 ...
Cohdwell asked 15/8, 2022 at 3:58
3
Solved
I cannot get CustomScrollView to work properly.
Before flutter 2.13.0-0.2.pre, tapping on a TextFields inside a CustomScrollView automatically adjusts the TextField above the keyboard as it opens.
...
Suetonius asked 23/5, 2022 at 21:9
4
In this part of my application I have ListView, when I run app I get this error and I can't resolve that:
Scaffold(
body: Directionality(
textDirection: TextDirection.rtl,
child: Container(
child...
Calculator asked 1/7, 2019 at 15:50
4
Solved
I'm trying to make a ListView that auto-scrolls to the newest data point.
I tired to do this by making a _scrollToBottom function that uses the .jumpTo method.
But i get a blank screen in the app...
Guitarfish asked 20/6, 2019 at 12:12
4
Solved
How can I find out which items are currently visible or invisible in a ListView?
For example, I have 100 items in ListView and when i scroll to top of screen or list, I want to detect which items a...
Ziegler asked 12/7, 2019 at 17:41
3
I have a page with some static content and a ListView with custom list tiles using InkWell. Here's my issue: if you hover the cursor over an InkWell near the top or bottom of the ListView and start...
Jacquejacquelin asked 14/12, 2021 at 0:22
2
Solved
I have the following elements encapsulated into a single ListView in my material app:
home: Scaffold(
appBar: AppBar(title: const Text("Flutter Layout")),
body: ListView(children: [
f...
Act asked 4/7, 2022 at 8:6
2
Solved
Im trying to build List where you can add items on both sides which are limited (so its not infinite on both sides). On top you would do refresh, and it will load new items but you would stay on sa...
Arletha asked 25/8, 2022 at 21:49
2
Is there a way to check if ListView is empty.
ListView.builder(
itemCount: _items.length,
itemBuilder: (context, index) {
return _buildFilteredItem(context, index);
},
)
I want to search thr...
Sunshinesunspot asked 15/11, 2018 at 16:59
3
Solved
@override
Widget build(BuildContext context) {
super.build(context);
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
return AnnotatedRegion<SystemUiOverlayStyle>(
value...
Cycloplegia asked 23/12, 2020 at 19:16
1
Solved
I have a container that I am trying to print out items form a list, minus the last item in the list. I am using list.generate:
child: Container(
width: double.infinity,
color: Colors.white,
chi...
Escalera asked 23/3, 2022 at 23:12
4
Solved
In flutter, widgets such as Row/ListView/Stack don't handle null children. So if we want to conditionally add widgets as children I usually do the following:
Row(
children: <Widget>[
foo =...
Enrika asked 28/8, 2018 at 14:56
1
Solved
I'm fetching data from server APIs, The data is being successfully fetched from the server but the issue is that when the data is provided to Listview it cant be shown. How can I show the data on L...
Pluckless asked 29/7, 2021 at 13:20
4
I am new to Flutter. I am using bottom navigation view . At the Dashboard class , there is the bottomnavigaton. The first of bottom navigation is Home class which have the tab view. The first page ...
Karlene asked 4/1, 2020 at 16:40
2
Solved
I'm using the new dart version <2.13.0-107.0.dev> with null safety enabled.
With this List of tasks:
List<Task> tasks = [
Task(name: 'find a way to live happy'),
Task(name: 'Listen t...
Thor asked 30/3, 2021 at 15:18
1
am facing this problem for a while now and i've no flutter community in my country so am forced to post online if i get any help and i will be glad if i found one cuz am in the deployment face of t...
Nganngc asked 10/2, 2021 at 15:4
2
I have a list containing music on each item. If I close the screen im changing the index of the currently located BottomNavigationPage and calling the stop function for stopping the audio, but exac...
Ecology asked 24/10, 2020 at 11:40
1
Solved
I am using below code for the listview builder in flutter application I need to get the index of the item in the list upon scrolling. Just Like function of onPageChanged:(){} while using PageView.B...
Gertrude asked 25/8, 2020 at 7:5
1
I want to display a list of widgets with variable sizes.
Flutter's Wrap is a great fit for my layout needs.
final List<dynamic> someItems;
return SingleChildScrollView(
child: Wrap(
chi...
Blinking asked 25/12, 2019 at 11:25
2
Solved
By default, flutter adds a overscroll effect on ListView/GridView/... on ios
I would like to remove this effect entirely or on one specific scrollable.
What can I do ?
Quintie asked 31/10, 2019 at 14:4
1
Solved
I am creating an admin dashboard, I currently have two view widgets in a row:
A side bar - 300px (not drawer, because I want it to show permanently) - which has a list.
A content widget - expande...
Inharmonious asked 8/3, 2020 at 9:12
1
I wish to create the following: when reaching the top or bottom of the inner Listview, I want to continue scrolling in the top Listview. See GIF:
Gif of what I got so far
An option would be to se...
Inkerman asked 11/12, 2019 at 21:42
1
Solved
I have a listview . I want to go to a certain widget by it's corresponding index number.
I've tried with ScrollController, but it need offset value to jumpTo the index. But I want to jumpTo a widg...
Jobi asked 18/8, 2019 at 14:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.