main library
Library entry point for voo_json_tree.
Classes
- CopyButton
- A small button for copying content to clipboard.
- ExpandIcon
- An animated expand/collapse icon for tree nodes.
- JsonKeyText
- A styled text widget for displaying JSON keys.
- JsonNode
- Represents a single node in the JSON tree structure.
- JsonParserService
- Service for parsing JSON data into a tree structure.
- JsonPath
- Utility class for working with JSON paths.
- JsonPathService
- Service for JSON path manipulation and clipboard operations.
- JsonSearchBar
- A search bar for filtering JSON tree content.
- JsonSearchResult
- Represents a search result in the JSON tree.
- JsonSearchService
- Service for searching through a JSON tree.
- JsonTreeBuilders
- Collection of builder callbacks for customizing tree rendering.
- JsonTreeConfig
- Configuration options for the JSON tree viewer.
- JsonTreeController
- Controller for managing JSON tree state.
- JsonTreeState
- Represents the current state of the JSON tree.
- JsonTreeTokens
- Token integration layer for VooJsonTree.
- JsonTreeToolbar
- A toolbar with search and tree controls.
- JsonTreeView
- The main tree view widget displaying the JSON structure.
- JsonValueText
- A styled text widget for displaying JSON values.
- NodeBracket
- A styled bracket widget for JSON objects and arrays.
- NodeContextMenu
- A context menu for JSON tree nodes.
- PathBreadcrumb
- A breadcrumb navigation widget for displaying JSON paths.
- TreeNode
- A complete tree node row with indentation, expand icon, and content.
- VooJsonTree
- A feature-rich JSON tree viewer/editor widget.
- VooJsonTreeResponsive
- A responsive wrapper for VooJsonTree that adapts to screen size.
- VooJsonTreeTheme
- Theme configuration for the JSON tree viewer.
Enums
- CopyType
- Types of content that can be copied.
- JsonNodeType
- Represents the type of a JSON node.
- JsonSearchMatchType
- Type of match in a search result.
- NodeContextAction
- Actions available in the context menu.
Extensions
- JsonNodeTypeExtension on JsonNodeType
- Extension methods for JsonNodeType.
Functions
-
showNodeContextMenu(
{required BuildContext context, required Offset position, required JsonNode node, required VooJsonTreeTheme theme, bool isExpanded = false}) → Future< NodeContextAction?> - Shows a context menu at the given position.
Typedefs
- JsonCopyFormatter = String? Function(JsonNode node, CopyType copyType)
- Signature for formatting copied content.
- JsonExpandIconBuilder = Widget Function(BuildContext context, bool isExpanded, Widget defaultWidget)
- Signature for building custom expand/collapse icons.
- JsonKeyBuilder = Widget Function(BuildContext context, JsonNode node, Widget defaultWidget)
- Signature for building custom key text widgets.
- JsonNodeBuilder = Widget Function(BuildContext context, JsonNode node, Widget defaultWidget)
- Signature for building custom node widgets.
- JsonValueBuilder = Widget Function(BuildContext context, JsonNode node, Widget defaultWidget)
- Signature for building custom value widgets.