Questions tagged [flutter-gridview]
93 questions
0
votes
1 answer
flutter gridview builder is choppy/laggy but it's just a tile of (very) low-res images
Short Question
Is it a bad idea to have gridview builder find (and render) an image file every time it needs to build? Any alternative approach?
Long Question
I'm developing a flutter/dart media gallery grid.
I'm using the gridview builder since…

JᴀʏMᴇᴇ
- 218
- 2
- 15
0
votes
0 answers
trying to build Tetris game in flutter through drag drop functionality of images to gridview.builder ,stuck at finding the index where to place img
I am trying to build Tetris game in flutter through drag drop functionality of images to gridview.builder but I have no idea how to put image block to gridview accordingly
Like I have 's' type of block image, i dragged over gridview but don't know…

Sushant
- 1
- 2
0
votes
1 answer
How to get Grid view count column information upon clicking grid item in flutter
Hi developers i have been using gridview in my flutter app to display some data's my gridview which has crossAxisCount: 5 which is 5 columns so when clicking an item from gridview i want more information like which column user have clicked like…

Abu Qudama
- 59
- 1
- 7
0
votes
2 answers
Want List items vertical and inner list items horizontal Flutter
I want every abcdLine's items characters in new line(vertically scrollable), and all items of characters should be horizontally scrollable in flutter application. I tried with Listview.builder(), but I couldn't get what I want.
List abcdLine =…

pnpatel
- 9
- 3
0
votes
0 answers
ListView to GridView Conversion
I downloaded a project from GitHub where the app shows a list of item category wise. At the top it shows the Title of the category and then List of items in that category. The problem is both the Title and List of items are assigned to ListView…

Abu Bakar
- 67
- 1
- 12
0
votes
1 answer
How to render a Map in FLutter?
I have this Account class
import 'package:project/models/category_model.dart';
enum AccountTypes {
cash,
banks,
}
class Account {
AccountTypes type;
double value;
List? categories;
Account({
required this.type,
…
anon
0
votes
0 answers
How to display data in grid view column wise flutter not row wise
I want display data in gridview column wise from first column bottom to top , second column bottom top top and so on . But not row wise in flutter and also need to calculate the height of the dynamical gridview can any one help me
Row(
…

gopinath
- 89
- 1
- 9
0
votes
0 answers
Flutter: Implementing a large life-calendar of 100x52 cells
I want to create something called a life calendar, which looks like this or this
Basically a massive gridview with 100 rows with 52 columns each which can be zoomed and panned into, and when a cell is clicked it will push a calendar page relating to…

Shazamo Morebucks
- 478
- 1
- 8
- 19
0
votes
1 answer
Adding a New Image and it changes all images at front page - Flutter
I am making demo application for experience.
So, the problem is that I am adding list as described in images(Screenshots). But when I add another new list with image so, it automatically changes images at front page in the last and new list both.…

Parth Patel
- 105
- 1
- 8
0
votes
1 answer
Flutter dynamic grid view with button below
Hello members am new bee to flutter i have dynamic movies list when i search movies list sometime i got 10 sometimes i got 2 values which correct but i want to have a button below this dynamic grid view which will be moving up and down with height…

Abu Qudama
- 59
- 1
- 7
0
votes
1 answer
Image should be upload only that column which is clicked not in all
I write a code where I have colums in Gridviw and each column has the property to upload the image.
The image will be uploaded on that column which is clicked but in my code when I click any column to upload an image it uploads in all columns.
so I…

RAF Algowid
- 87
- 2
- 6
0
votes
2 answers
How to do I add new column after endling of loop inside Gridview?
I want to add a new column after the end of the loop inside Gridview.
Right now in my code I add the append functionality in floatingActionButton but I want to add this append functionality in the column after every end of the column loop.
Like…

RAF Algowid
- 87
- 2
- 6
0
votes
1 answer
Add and remove columns childs inside Gridview
I write the code to add and remove columns inside Gridview at first load screen everything looks fine but when I remove any column on click the cross button inside the column it breaks the layout and does not remove any column whenever i click to…

RAF Algowid
- 87
- 2
- 6
0
votes
1 answer
flutter: RenderFlex children have non-zero flex but incoming height constraints are unbounded. in GridView widget
I want to create a grid view with four columns in two rows if I add a widget GridView() it shows an error on compile time.
it shows an error multiple times when the app is hot reload after saving file.
Error: RenderFlex children have non-zero flex…

RAF Algowid
- 87
- 2
- 6
0
votes
4 answers
Field '_areas' should be initialized because its type 'List' doesn't allow null
Flutter shows error Non-nullable instance field '_areas' must be initialized.
Maybe this is because of not defining null in lists areas what when defining null Like List? _areas;
it shows an error on the index
Error: Field '_areas' should be…

RAF Algowid
- 87
- 2
- 6