capped method
This node with its rows capped — see PluginView.capped. A node that holds no rows is its own answer.
Implementation
@override
ViewNode capped(int maxRows) => rows.length <= maxRows
? this
: ViewTable(
columns,
rows.take(maxRows).toList(),
truncated: truncated + rows.length - maxRows,
);