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;
  }
}