json_data_explorer library

Classes

DataExplorerStore
Handles the data and manages the state of a data explorer.
DataExplorerTheme
Theme used to display the JsonDataExplorer.
JsonAttribute
JsonDataExplorer
A widget to display a list of Json nodes.
NodeViewModelState
A view model state that represents a single node item in a json object tree. A decoded json object can be converted to a NodeViewModelState by calling the buildViewModelNodes method.
PropertyOverrides
Holds information about a property value style and interaction.
SearchResult
A matched search in the given node.

Enums

SearchMatchLocation
The location of the search match in a node.

Functions

buildViewModelNodes(dynamic object) Map<String, NodeViewModelState>
Builds NodeViewModelState nodes based on a decoded json object.
flatten(dynamic object) List<NodeViewModelState>

Typedefs

Formatter = String Function(dynamic value)
Signature for a function that takes a generic value and converts it to a string.
NodeBuilder = Widget Function(BuildContext context, NodeViewModelState node)
Signature for a function that creates a widget based on a NodeViewModelState state.
StyleBuilder = PropertyOverrides Function(dynamic value, TextStyle style)
Signature for a function that takes a generic value and the current theme property value style and returns a StyleBuilder that allows the style and interaction to be changed dynamically.