Updated dataTable API doc to explicitly point sorting (#61356)

This commit is contained in:
Pragya
2020-08-08 09:01:05 +05:30
committed by GitHub
parent f9fd71bc78
commit 191c7cbe0b

View File

@@ -370,6 +370,11 @@ class DataCell {
/// ```
/// {@end-tool}
///
/// [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.
///
/// See also:
///
/// * [DataColumn], which describes a column in the data table.