JsonVisualizer constructor

const JsonVisualizer({
  1. Key? key,
  2. required dynamic data,
  3. JsonVisualizerColors colors = const JsonVisualizerColors(),
  4. int expandDepth = 1,
  5. double fontSize = 16.0,
  6. double indentWidth = 24.0,
  7. VoidCallback? onCopied,
})

Implementation

const JsonVisualizer({
  super.key,
  required this.data,
  this.colors = const JsonVisualizerColors(),
  this.expandDepth = 1,
  this.fontSize = 16.0,
  this.indentWidth = 24.0,
  this.onCopied,
});