Questions tagged [flutter-gridview]

93 questions
2
votes
2 answers

flutter reordable_grid_view package child white background

I am using flutter recordable grid view package recordable_grid_view And it puts a white background behind my custom widgets while dragging. How to make it transparent or how to give it rounded borders. It makes the layout looks so ugly.
2
votes
0 answers

problem occurred evaluating root project 'android'. > problem occurred configuring project ':app'.Cannot invoke method afterEvaluate() on null object

Plugin project :firebase_core_web not found. Please update settings.gradle. Plugin project :firebase_auth_web not found. Please update settings.gradle. FAILURE: Build failed with an exception. Where: Script…
2
votes
2 answers

GridView.builder // Items are overflowing

Problem: I want to use widget in my gridview builder, but the items in the grid keep overflowing. Image (Code below): Code: This is the GriView.builder: return Expanded( child: GridView.builder( gridDelegate: …
Joe
  • 311
  • 3
  • 17
2
votes
3 answers

Skip an item in gridview without leaving a hole

I'm building a gridview displaying thumbnails and do not want to show the items at index 0. I have a different widget where I show thumbnails using a listview with the Visibility widget. That works! Like so: ListView.separated( …
Joe
  • 311
  • 3
  • 17
2
votes
1 answer

How to access specific cell in generated List from grid view count in Flutter?

Here, I have a list. I want to access a specific position on that list in my GridView.count. Like I have a list, a = [133, 118, 117, 116, 115, 114]; I want to figure it out that in my List.generate where I have generated 225 cells, how can I access…
2
votes
2 answers

Load phone's gallery as fast as native IOS in Flutter without OOM

I am trying to load the phone's gallery (with pagination) in a GridView.builder widget. Here is the issue i have created using the photo_manager package. I have got some help and it made me think about a possible solution (see my last comment on the…
Tom3652
  • 2,540
  • 3
  • 19
  • 45
2
votes
2 answers

Using the height of a row's tallest child as the height of the whole row in a grid

I have a bunch of cards with varying heights, and I'd like to display them in a grid, where the row height is the height of the row's tallest widget, like so: ╔════╗╔════╗╔════╗╔════╗ ║ ║║ ║║ ║║ ║ ║ ║╚════╝║ ║║ ║ ╚════╝ ║ …
hacker1024
  • 3,186
  • 1
  • 11
  • 31
2
votes
1 answer

Flutter scroll screen when pointer reaches edge

I have a GridView that contains draggable items. When an item is dragged to the top/bottom of the screen I want to scroll the GridView in that direction. Currently I wrapped each draggable item in a Listener like so: Listener( child:…
2
votes
3 answers

GridView containing Cards are getting Trimmed at the end in Flutter

I am trying to create one Grid View page with Cards as list elements and the last of the cards are getting cut from the bottom. The following are relevant code snippets: createListBody.dart List services = [ 'Demo1', 'Demo2', …
2
votes
0 answers

Staggered Grid View Not scrolling inside Listview

Red color one is carousal view Green color one is horizontal ListView Blue color one is Staggered Gridview widget So My issue is Staggered Grid View is not srolling up inside Listview I want to scroll all Content . Any one please help this . My…
2
votes
1 answer

Out of memory when loading images to a Flutter Gridview

I'm trying to build a GridView in Flutter that consists of about 20-30 hi-res images, but running into memory issues (with memory usage in the android studio profiler reaching up-to 1.2g, eventually leading to a blackout). Here's how I'm building…
1
vote
1 answer

How to detect in ListView.Builder or GridView.Builder user finger is pointing at which index in Flutter Mobile?

I am using ListView horizontal and vertical scrolling and MouseRegion or Inkwell(onHover method) any other way working properly on Flutter web And Desktop devices properly but not mobile devices (IOS and Android). I am trying to make listView and…
1
vote
1 answer

Why is my gridview not showing on my page?

I'm trying to display the country by continent in a dynamic way so I can reuse my widget for other continent but my GridView don't work, nothing is showing either in my debug console or my page can someone help me identify the problem so I can solve…
Coca95
  • 31
  • 5
1
vote
1 answer

How to listen to stream and update Flutter GridView builder accessing Firebase

I need an example code in which a Flutter Gridview builder streams Firebase data (for example with a single Collection and multiple Documents with multiple fields in each) that can be modified by the user straight from the Gridview I've watched this…
1
vote
0 answers

Flutter - Custom widget animation state reversed in Gridview

I have a gridview with a couple of custom cards that when selected will change color to indicate to the user that they have selected the card. When I scroll down and return to the previously selected card, the color changes like it was never…
craig_hero
  • 65
  • 10