TomlKeyBuilder typedef

TomlKeyBuilder = Widget? Function(BuildContext context, String key, String path, bool isRoot)

Builds a custom widget for a TOML key label.

key is the key name, path is the dotted path (e.g. server.database), isRoot indicates whether this is a top-level key. Return null to use the default rendering.

Implementation

typedef TomlKeyBuilder = Widget? Function(
    BuildContext context, String key, String path, bool isRoot);