Open Javicg10 opened 4 months ago
horizontalAlign doesn't work either
ignores first line
Today I tried to compile and found multiple errors regarding backgroundColorHex:
The argument type 'String' can't be assigned to the parameter type 'ExcelColor'.
CellStyle customCellStyle = CellStyle( backgroundColorHex: '#fce48e', bold: true, horizontalAlign: HorizontalAlign.Center);
ExcelColore.red
Hi,
Same happened to me. I fixed the errors by replacing the color literal strings with ExcelColor:
backgroundColorHex: '#FFE25C', --> ExcelColor.fromHexString('#FFE25C')
Regards
Today I tried to compile and found multiple errors regarding backgroundColorHex:
The argument type 'String' can't be assigned to the parameter type 'ExcelColor'.