TomlArrayViewer constructor

const TomlArrayViewer(
  1. List data,
  2. String keyname, {
  3. Key? key,
  4. bool notRoot = false,
  5. required TomlViewerConfig config,
})

Creates a TomlArrayViewer widget.

The data parameter contains the array data to be displayed. The keyname parameter specifies the key name of the array in the TOML object. The notRoot parameter indicates whether the array is not the root array.

Implementation

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