TomlViewerConfig constructor

TomlViewerConfig({
  1. bool expandMode = true,
  2. Color valueColor = const Color.fromRGBO(255, 68, 68, 1.0),
  3. Color typeTextColor = Colors.grey,
  4. Color symbolColor = Colors.grey,
  5. Color nonRootKeyColor = const Color.fromRGBO(0, 51, 153, 1.0),
  6. Color rootKeyColor = const Color.fromRGBO(0, 51, 153, 1.0),
  7. 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
});