TomlViewerColors constructor
const
TomlViewerColors({
- Color value = const Color(0xFFD32F2F),
- Color type = const Color(0xFF757575),
- Color symbol = const Color(0xFF9E9E9E),
- Color nonRootKey = const Color(0xFF1565C0),
- Color rootKey = const Color(0xFF0D47A1),
- Color tableKey = const Color(0xFF00796B),
- Color arrayIndex = const Color(0xFF757575),
- Color arrayExpandable = const Color(0xFF00897B),
- Color errorHighlight = const Color(0xFFF44336),
- Color errorText = const Color(0xFFC62828),
- Color searchHighlight = const Color(0xFFFFE082),
- Color lineNumber = const Color(0xFF9E9E9E),
Creates a colour palette. Every colour has a light-mode default.
Implementation
const TomlViewerColors({
this.value = const Color(0xFFD32F2F),
this.type = const Color(0xFF757575),
this.symbol = const Color(0xFF9E9E9E),
this.nonRootKey = const Color(0xFF1565C0),
this.rootKey = const Color(0xFF0D47A1),
this.tableKey = const Color(0xFF00796B),
this.arrayIndex = const Color(0xFF757575),
this.arrayExpandable = const Color(0xFF00897B),
this.errorHighlight = const Color(0xFFF44336),
this.errorText = const Color(0xFFC62828),
this.searchHighlight = const Color(0xFFFFE082),
this.lineNumber = const Color(0xFF9E9E9E),
});