DataTable | Flutter Widget #22| codepen |

preview_player
Показать описание
#flutter #widget

Displaying data in a table is expensive, because to lay out the table all the data must be measured twice, once to negotiate the dimensions to use for each column, and once to actually lay out the table given the results of the negotiation.
DataTable can be sorted on the basis of any column in columns in ascending or descending order. If sortColumnIndex is non-null, then the table will be sorted by the values in the specified column. The boolean sortAscending flag controls the sort order.

DataColumn, which describes a column in the data table.
DataRow, which contains the data for a row in the data table.
DataCell, which contains the data for a single cell in the data table.
Рекомендации по теме