Clikable Cell in flutter

208 Views Asked by At

Here is the image of my UI

I want to make each cell in 3rd column a clickable Cell that I can navigate from it to another page.

2

There are 2 best solutions below

0
On BEST ANSWER
Inkwell(
  onTap: (){},
  child: YourRowWidget()
)

Use inkwell widget for your problem.

0
On

Add InkWell or GestureDetector as parent widget of your row. InkWell add some visual effect on click. On the other side GestureDetector is used on a more general purpose that shows no visual effect/indicator.

InkWell(
  onTap: () => {},
  child: YourRow(),
),
GestureDetector(
  onTap: () => {},
  child: YourRow(),
),