CellStyle constructor

CellStyle(
  1. Workbook workbook, [
  2. String? name
])

Creates an new instances of the Workbook.

Implementation

CellStyle(Workbook workbook, [String? name]) {
  _book = workbook;
  backColor = '#FFFFFF';
  fontName = 'Calibri';
  fontSize = 11;
  fontColor = '#000000';
  italic = false;
  bold = false;
  underline = false;
  wrapText = false;
  hAlign = HAlignType.general;
  vAlign = VAlignType.bottom;
  indent = 0;
  rotation = 0;
  numberFormat = 'General';
  _builtinId = 0;
  borders = BordersCollection(_book);
  isGlobalStyle = false;
  locked = true;
  _borders = BordersCollection(_book);
  if (name != null) {
    this.name = name;
  }
}