Flutter : TableOverflow not fixed with SingleChildScrollView

29 Views Asked by At

I'm working on a problem which I'm not able to fix. I want to have a table with a lot of rows, positioned and centered at the top of the page. Additionally, there's an image button at the left bottom with a fixed distance of 20 to the bottom and the left and a fixed min distance to the table of 20. The table has to be scrollable if it exceeds the available space. My tree looks as follows :

 - Scaffold
 -     Column
 -         SingleChildScrollView
 -             Center
 -                 Table
 -                     TableRows
 -                     :
 -         Align
 -             Padding
 -                 InkWell

When I increase the padding of the InkWell then an overflow error is shown. Why doesn't the SingleChildScrollView do the job ? I always thought that this Widget ovoids the overflow

0

There are 0 best solutions below