0

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.

Robin
  • 4,902
  • 2
  • 27
  • 43
SH EB
  • 61
  • 8

2 Answers2

3
Inkwell(
  onTap: (){},
  child: YourRowWidget()
)

Use inkwell widget for your problem.

Robin
  • 4,902
  • 2
  • 27
  • 43
2

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(),
),
Robin
  • 4,902
  • 2
  • 27
  • 43
Eng
  • 1,617
  • 2
  • 12
  • 25