Questions tagged [flutter-table]
33 questions
24
votes
3 answers
How to set table column size in TableRow for Flutter Table
I have no idea how to set table column size in Flutter. If I use Row, Expanded can be used, but TableRow does not allow it.
Please tell me some advice how to set table column size.
The best solution for me is adjust to size of text length in…

tajihiro
- 2,293
- 7
- 39
- 60
8
votes
0 answers
Set dynamic height value to dataRowHeight Property of DataTable Widget to fit different Row's content - #flutter
I need to set dynamic height value to dataRowHeight property of DataTable Widget to fit different Row's contents and I don't want to use Table Widget which allows that. - #flutter
As by default, it uses kMinInteractiveDimension value of (48.0) as…

Adamu Muktar
- 83
- 6
8
votes
3 answers
Flutter table structure
I want to get this structure:
-----------------------------------------------------------------------------------
item 1 item 2
item 3 item…

Ale
- 2,282
- 5
- 38
- 67
4
votes
1 answer
How do I set a Flutter TableRow in a Table to behave the way Expanded() behaves in a Column?
I have a Table in Flutter and I want to have it expand it's row so that the table takes up the full space that's available for it. Given that TableRow isn't a widget I can't use Expanded on it the way I would for Widgets in a Column. Is there…

Christian
- 25,249
- 40
- 134
- 225
3
votes
1 answer
Flutter DataTable Layout
I've got some layout trouble with DataTable in Flutter with a FutureBuilder, I've called the API and naturally it will display it like this:
Understandable, since I'm building a list of tables it will return multiple tables back. I want to map out…

GrandMagus
- 600
- 3
- 12
- 37
3
votes
5 answers
How to set align right in table with Flutter
I'm using flutter table.
I would like to set numbers align right.(or center)
How can I make them locate?
I would like to header center. numbers to right.
Container(
margin: EdgeInsets.all(8.0),
width:…

tajihiro
- 2,293
- 7
- 39
- 60
2
votes
0 answers
flutter table column width is not working
Below is my Code
child: Table(
// defaultColumnWidth: FixedColumnWidth(140.0),
columnWidths: {
0: FlexColumnWidth(1),
1: FlexColumnWidth(2),
2: FlexColumnWidth(1),
…

Arun.k
- 165
- 1
- 2
- 11
2
votes
3 answers
Handle tap in Flutter TableRow
I need to make the TableRow clickable and navigate to other screen but I cannot wrap TableRow with GestureDetector or Inkwell. How can I make the TableRow clickable. I have implemented as follows:
for (int i = 0; i < menuList.length; i++)
…

Nabin Dhakal
- 1,949
- 3
- 20
- 48
1
vote
2 answers
How to make this drop design tab bar in flutter?
How can i make this kind of tab bar in flutter

Yogesh Dubey
- 53
- 4
1
vote
2 answers
Display another table row (table header/ title) in flutter with Table Widget
I got a project, where a table widget was used instead of DataTable, So I have been able to pull my JSON data to the table row, but I am having issues showing the header for the table, I can use DataTable to achieve, but I am required to use the…

Godwin
- 608
- 1
- 9
- 14
1
vote
1 answer
Table widget not showing
I want to create a table with 2 columns and both columns with different colours, this is the code I tried and the code compiles and runs without any error but it is not displaying any table or cell.
import 'package:flutter/material.dart';
class…

Nishu
- 33
- 1
- 7
1
vote
2 answers
How to make horizontal Scrollable Table Widget in Flutter
I want to make Table Columns in Scrollable horizontal direction In Flutter. How to do achieve that? Remember Talking about Table Widget not DataTable?

Fahad Mustafa
- 27
- 1
- 6
1
vote
1 answer
Sorting Columns in Flutters Data Table
I'm trying to sort the data in the Flutter Data Table, but no matter what I try, either it does nothing or it returns this error: The method 'sort' was called on null. Receiver: null Tried calling: sort(Closure: (VehicleData, VehicleData) => int).…

GrandMagus
- 600
- 3
- 12
- 37
1
vote
1 answer
Flutter Map In Data Table
I get this error where I want to .map out some Data Row in a data table.
I've achieved this earlier in a previous situation and I understood how to do it, but it seems in this situation, things are different and seem to understand how to define the…

GrandMagus
- 600
- 3
- 12
- 37
1
vote
2 answers
Some parts of the text are not rendering in Flutter web
I'm facing another issue. Flutter web not rendering some parts of the text. Sometimes whole last words are missing.
Whole text is visible for few milliseconds then few parts of it get disappeared. I know the workaround which is to add spaces at the…

Faizan Kamal
- 1,732
- 3
- 27
- 56