TomlArrayViewer constructor
const
TomlArrayViewer(
- List data,
- String keyname, {
- Key? key,
- bool notRoot = false,
- 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,
});