JsonDataExplorer constructor

const JsonDataExplorer({
  1. Key? key,
  2. required Iterable<NodeViewModelState> nodes,
  3. ItemScrollController? itemScrollController,
  4. ItemPositionsListener? itemPositionsListener,
  5. NodeBuilder? rootInformationBuilder,
  6. NodeBuilder? collapsableToggleBuilder,
  7. NodeBuilder? trailingBuilder,
  8. Formatter? rootNameFormatter,
  9. Formatter? propertyNameFormatter,
  10. Formatter? valueFormatter,
  11. StyleBuilder? valueStyleBuilder,
  12. double itemSpacing = 2,
  13. ScrollPhysics? physics,
  14. 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);