TomlRowBuilder typedef

TomlRowBuilder = Widget? Function(BuildContext context, String key, Object? value, String path, bool? isExpanded, VoidCallback? onToggle)

Builds a custom widget for a complete key-value row.

key is the key name, value is the raw value, path is the dotted path, isExpanded is the current expand state (null for non-expandable entries), onToggle toggles expand/collapse (null for non-expandable entries). Return null to use the default rendering.

Implementation

typedef TomlRowBuilder = Widget? Function(BuildContext context, String key,
    Object? value, String path, bool? isExpanded, VoidCallback? onToggle);