JsonDataExplorer constructor
const
JsonDataExplorer({
- Key? key,
- required Iterable<
NodeViewModelState> nodes, - ItemScrollController? itemScrollController,
- ItemPositionsListener? itemPositionsListener,
- NodeBuilder? rootInformationBuilder,
- NodeBuilder? collapsableToggleBuilder,
- NodeBuilder? trailingBuilder,
- Formatter? rootNameFormatter,
- Formatter? propertyNameFormatter,
- Formatter? valueFormatter,
- StyleBuilder? valueStyleBuilder,
- double itemSpacing = 2,
- ScrollPhysics? physics,
- DataExplorerTheme? theme,
Implementation
const JsonDataExplorer({
Key? key,
required this.nodes,
this.itemScrollController,
this.itemPositionsListener,
this.rootInformationBuilder,
this.collapsableToggleBuilder,
this.trailingBuilder,
this.rootNameFormatter,
this.propertyNameFormatter,
this.valueFormatter,
this.valueStyleBuilder,
this.itemSpacing = 2,
this.physics,
DataExplorerTheme? theme,
}) : theme = theme ?? DataExplorerTheme.defaultTheme,
super(key: key);