JsonAttribute constructor
const
JsonAttribute({
- Key? key,
- required NodeViewModelState node,
- required DataExplorerTheme theme,
- NodeBuilder? rootInformationBuilder,
- NodeBuilder? collapsableToggleBuilder,
- NodeBuilder? trailingBuilder,
- Formatter? rootNameFormatter,
- Formatter? propertyNameFormatter,
- Formatter? valueFormatter,
- StyleBuilder? valueStyleBuilder,
- double itemSpacing = 2,
Implementation
const JsonAttribute({
Key? key,
required this.node,
required this.theme,
this.rootInformationBuilder,
this.collapsableToggleBuilder,
this.trailingBuilder,
this.rootNameFormatter,
this.propertyNameFormatter,
this.valueFormatter,
this.valueStyleBuilder,
this.itemSpacing = 2,
}) : super(key: key);