getWidthOfColumn method
Implementation
double? getWidthOfColumn(List<DataTableColumn<T>> columns) {
double widthOfColumns = 0;
for (final column in columns) {
if (column.width == null && column.minWidth == null) {
return null;
}
if (isShowInScreen(column.showOnScreens)) {
widthOfColumns += column.width ?? column.minWidth!;
}
}
return widthOfColumns;
}