TomlViewerConfig constructor
TomlViewerConfig({
- bool expandMode = true,
- Color valueColor = const Color.fromRGBO(255, 68, 68, 1.0),
- Color typeTextColor = Colors.grey,
- Color symbolColor = Colors.grey,
- Color nonRootKeyColor = const Color.fromRGBO(0, 51, 153, 1.0),
- Color rootKeyColor = const Color.fromRGBO(0, 51, 153, 1.0),
- Color keyColor = const Color.fromRGBO(0, 128, 128, 1.0),
Implementation
TomlViewerConfig({
this.expandMode = true,
this.valueColor = const Color.fromRGBO(255, 68, 68, 1.0), // Red shade 800
this.typeTextColor = Colors.grey,
this.symbolColor = Colors.grey,
this.nonRootKeyColor =
const Color.fromRGBO(0, 51, 153, 1.0), // Blue shade 900
this.rootKeyColor =
const Color.fromRGBO(0, 51, 153, 1.0), // Purple shade 900
this.keyColor = const Color.fromRGBO(0, 128, 128, 1.0), // Teal shade 700
});