JsonVisualizer constructor
const
JsonVisualizer({
- Key? key,
- required dynamic data,
- JsonVisualizerColors colors = const JsonVisualizerColors(),
- int expandDepth = 1,
- double fontSize = 16.0,
- double indentWidth = 24.0,
- 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,
});