TomlView constructor

const TomlView({
  1. Key? key,
  2. String? assetFilePath,
  3. String? content,
  4. TomlViewerConfig? config,
})

Creates a TomlView widget.

Either assetFilePath or content should be provided. If both are provided, assetFilePath will take precedence.

Implementation

const TomlView({super.key, this.assetFilePath, this.content, this.config});