11// Copyright 2025 The Flutter Authors
22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
4+
5+ /// @docImport 'table.dart';
6+ library ;
7+
48import 'dart:collection' ;
59import 'dart:math' ;
610
@@ -56,13 +60,13 @@ class FlatTableController<T> extends TableControllerBase<T> {
5660 /// Callback that will be called after each table sort operation.
5761 final VoidCallback ? onDataSorted;
5862
59- /// The unmodified, original data for the active data set [ _tableData.value] .
63+ /// The unmodified, original data for the active data set ` _tableData.value` .
6064 ///
6165 /// This is reset each time [setData] is called, when [sortOriginalData] is
6266 /// false.
6367 late UnmodifiableListView <T > _unmodifiableOriginalData;
6468
65- /// The modifiable, original data for the active data set [ _tableData.value] .
69+ /// The modifiable, original data for the active data set ` _tableData.value` .
6670 ///
6771 /// This is reset each time [setData] is called, when [sortOriginalData] is
6872 /// true.
@@ -255,16 +259,16 @@ abstract class TableControllerBase<T> extends DisposableController {
255259 /// dividing lines will be drawn for each column group boundary.
256260 final bool includeColumnGroupHeaders;
257261
258- /// The default sort column for tables using this [ TableController] .
262+ /// The default sort column for tables using this TableController.
259263 ///
260264 /// The currently active sort column will be stored as part of the
261- /// [TableUiState] for the current data (stored in [_tableUiStateByData] ) .
265+ /// [TableUiState] for the current data.
262266 final ColumnData <T > defaultSortColumn;
263267
264- /// The default [SortDirection] for tables using this [ TableController] .
268+ /// The default [SortDirection] for tables using this TableController.
265269 ///
266270 /// The currently active [SortDirection] will be stored as part of the
267- /// [TableUiState] for the current data (stored in [_tableUiStateByData] ) .
271+ /// [TableUiState] for the current data.
268272 final SortDirection defaultSortDirection;
269273
270274 /// The column to be used by the table sorting algorithm to break a tie for
@@ -289,7 +293,7 @@ abstract class TableControllerBase<T> extends DisposableController {
289293 /// The key for the current table data.
290294 ///
291295 /// The value assigned to [TableData.key] will only be used if
292- /// [ persistUiStates] has been set to true. Otherwise, all data sets will be
296+ /// ` persistUiStates` has been set to true. Otherwise, all data sets will be
293297 /// assigned to and looked up from the key [TableData.defaultDataKey] .
294298 String get _currentDataKey => _tableData.value.key;
295299
0 commit comments