getCellWidth function

double getCellWidth(
  1. ExcelCell cell
)

Implementation

double getCellWidth(ExcelCell cell) {
  final content = cell.content;
  if (content == null) return 0.0;
  final style = cell.style;

  return content.textSize(style).width;
}