Cell constructor
Cell({
- String? symbol,
- Color fg = Color.reset,
- Color bg = Color.reset,
- RgbColor? fgRgb,
- RgbColor? bgRgb,
- IndexedColor? fgIndexed,
- IndexedColor? bgIndexed,
- Modifier? modifier,
- CellDiffOption diffOption = CellDiffOption.none,
Implementation
Cell({
String? symbol,
this.fg = Color.reset,
this.bg = Color.reset,
this.fgRgb,
this.bgRgb,
this.fgIndexed,
this.bgIndexed,
Modifier? modifier,
this.diffOption = CellDiffOption.none,
}) : symbol = symbol ?? ' ',
modifier = modifier ?? Modifier.none;