user15320702
user15320702

Reputation: 43

Flutter : PaginatedDataTable is it possible to fetch the page now?

How do I get the page information currently being viewed from'PaginatedDataTable'?

This is example code.

new PaginatedDataTable(
              header: const Text('Nutrition'),
              rowsPerPage: _rowsPerPage,
              onRowsPerPageChanged: (int value) {
                setState(() {
                  _rowsPerPage = value;
                });
              },
              sortColumnIndex: _sortColumnIndex,
              sortAscending: _sortAscending,
              onSelectAll: _dessertsDataSource._selectAll,
              columns: <DataColumn>[
                new DataColumn(....
              ],
              source: _dessertsDataSource)

Upvotes: 1

Views: 663

Answers (0)

Related Questions