TomlObjectViewer constructor

const TomlObjectViewer(
  1. Map<String, dynamic> data, {
  2. Key? key,
  3. bool notRoot = false,
  4. required TomlViewerConfig config,
})

Creates a TomlObjectViewer widget.

The data parameter contains the TOML data to be displayed. The notRoot parameter indicates whether the object is not the root object.

Implementation

const TomlObjectViewer(this.data,
    {super.key, this.notRoot = false, required this.config});