hideColumns method
Hide or show the columns
with hide
value.
When column.frozen.isFrozen
in columns
and hide
is false,
column.frozen
is changed to PlutoColumnFrozen.none
if the frozen column width constraint is narrow.
Implementation
@override
void hideColumns(
List<PlutoColumn> columns,
bool hide, {
bool notify = true,
}) {
if (columns.isEmpty) {
return;
}
_updateLimitedHideColumns(columns, hide);
_updateAfterHideColumn(columns: columns, notify: notify);
}