ThemeData constructor

const ThemeData({
  1. Brightness brightness = Brightness.dark,
  2. CellStyle textStyle = CellStyle.none,
  3. CellStyle mutedStyle = const CellStyle(dim: true),
  4. CellStyle selectionStyle = const CellStyle(inverse: true),
  5. CellStyle focusedStyle = const CellStyle(bold: true),
  6. CellStyle errorStyle = const CellStyle(foreground: Colors.red, underline: true),
  7. CellStyle? interactiveStyle,
  8. BorderStyle borderStyle = BorderStyle.rounded,
  9. ColorScheme colorScheme = ColorScheme.standard,
  10. List<Object> extensions = const [],
})

Implementation

const ThemeData({
  this.brightness = Brightness.dark,
  this.textStyle = CellStyle.none,
  this.mutedStyle = const CellStyle(dim: true),
  this.selectionStyle = const CellStyle(inverse: true),
  this.focusedStyle = const CellStyle(bold: true),
  this.errorStyle = const CellStyle(foreground: Colors.red, underline: true),
  this.interactiveStyle,
  this.borderStyle = BorderStyle.rounded,
  this.colorScheme = ColorScheme.standard,
  this.extensions = const [],
});