Questions tagged [flutter-gridview]

93 questions
0
votes
2 answers

Flutter grid of buttons that redirects to other page when clicked

Hi guys i am new to flutter. I have a grid of clickable buttons. Right now its only two, but it can grow to many. how can I refactor this to make it more dynamic and handle many future buttons? like a grid list of buttons that you can each click to…
user10860402
  • 912
  • 1
  • 10
  • 34
0
votes
2 answers

How do i create event listener for Json object in Flutter gridview

i would like to know how i can listen to json objects in my gridview so that i can use them for navigation logic.Forexample picking a category id of a gridview item and using it to display it's respective data or items in the next page.
0
votes
0 answers

Flutter - Gridview part is not visible on my screen after building the app

Flutter - Gridview part is not visible on my screen after building the app output on screen Console Output: console output only the button part is visible but not the gridview part. Can someone suggest what changes to do.. Here is the code:- body:…
0
votes
2 answers

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-hand side. I can't see how to customize the…
0
votes
3 answers

Flutter expandable tiles inside grid view

I'm trying to achieve this functionality on flutter but honestly have no idea how to do it. I've been trying to figure it out for weeks, I tried flutter_staggered_grid_view, which was kind of the closest to this, but that didn't help either. Does…
Chandraaditya
  • 341
  • 1
  • 8
  • 18
0
votes
1 answer

The named parameter 'icon' isn't defined. Try defining a named parameter with the name 'icon'

Grid view with flutter icons with 2 columns and Each Images Text under the image aligned bottom center with 300 by 300 pixel dimensions or icon size 98 or 85My code is as below`import appBar: AppBar(title: Text("Digital Directory"),), body:…
sr2k23
  • 127
  • 1
  • 2
  • 12
0
votes
2 answers

Not able to make Scrollable

I am new in flutter and I try to make scrollable UI. I try to add Expanded widgets, ListViews Widgets , SingleChildScrollView widgets but didn't get the expected result. Also, I try to wrap the stack inside Container and then inside…
0
votes
0 answers

How to make an image grid view which populates items when uploading a new image to firebase storage in flutter?

In GridView.builder, we must give a fixed value for the itemCount property. So what is the best way to update this property when we adding a new image to the grid view by uploading it to firebase storage? Here I just used the image name to get the…
0
votes
0 answers

How to change items of a gridview in flutter

I am new to flutter and i current have an app that has a grid view that gets its list from an api. Some of the grid view items have child nodes in them, so what i want to achieve is to set a click function that checks if there is a child node and if…
0
votes
1 answer

Flutter gridview with fake item for adding data

let's say I have a gridview like this: class ImagesGrid extends StatelessWidget { @override Widget build(BuildContext context) { final size = MediaQuery.of(context).size; final imagesData =…
Draško
  • 2,119
  • 4
  • 41
  • 73
0
votes
2 answers

Flutter GridView Widget for Smaller Screens

I am trying to build a 2x3 GridView in my app, it works quite fine on big screen devices but for devices like iPhone SE (4 inch) GridView is not scaling it self. It appears with scroll or overflows from the bottom. How can I make sure, all the…
btutal
  • 115
  • 2
  • 7
0
votes
0 answers

Flutter gridview photos

Does anyone else have a issue with displaying File image in a gridview.builder or list? The images display but if I scroll fast logcat gives an out of memory exception and the app crashes. I have tired clearing the cache, that doesn't help. Memory…
0
votes
2 answers

How to edit specific items in GridView?

How would I edit / target specifics item in this GridView. This Gridview lays out the days of Jan 2020 in each container. How would I change the container's border of a specific date? Example... I want to change the border to red instead of black…
Kagimura
  • 397
  • 1
  • 7
  • 20
0
votes
1 answer

is their any way we can provide specific height (aspect ratio provides error)to grid item in flutter using GridView.builder

Since i am new to flutter, In the case of gridview.builder, By providing "childAspectRatio: 1/1", the height differs, some devices i am getting overflow by 10pixels etc, is their any way we can provide specific height to grid…
-1
votes
2 answers

How to solve the grid view problem in flutter?

I have a problem of grid view. I add lists as described in 1st screenshot, then the same list will be updated on the another page (as per second screen shot). However, as you can see overflow error, that is happening and I can not solve that. So,…
Parth Patel
  • 105
  • 1
  • 8