JsonRecyclerController constructor
JsonRecyclerController({
- required bool isExpanded,
- bool saveClosedHistory = true,
- bool showStandardJson = false,
- Color jsonKeyColor = CrJsonColors.jsonKeyColor,
- Color intColor = CrJsonColors.intColor,
- Color doubleColor = CrJsonColors.doubleColor,
- Color stringColor = CrJsonColors.stringColor,
- Color nullColor = CrJsonColors.nullColor,
- Color boolColor = CrJsonColors.boolColor,
- Color objectColor = CrJsonColors.objectColor,
- Color standardJsonBackgroundColor = CrJsonColors.jsonBackgroundColor,
- Widget iconOpened = const Icon(Icons.arrow_drop_down),
- Widget iconClosed = const Icon(Icons.arrow_right),
- FontWeight fontWeight = FontWeight.bold,
- double horizontalSpaceMultiplier = 18,
- double verticalOffset = 4,
- double additionalIndentChildElements = 6,
- FontStyle? fontStyle,
Implementation
JsonRecyclerController({
required this.isExpanded,
this.saveClosedHistory = true,
this.showStandardJson = false,
this.jsonKeyColor = CrJsonColors.jsonKeyColor,
this.intColor = CrJsonColors.intColor,
this.doubleColor = CrJsonColors.doubleColor,
this.stringColor = CrJsonColors.stringColor,
this.nullColor = CrJsonColors.nullColor,
this.boolColor = CrJsonColors.boolColor,
this.objectColor = CrJsonColors.objectColor,
this.standardJsonBackgroundColor = CrJsonColors.jsonBackgroundColor,
this.iconOpened = const Icon(Icons.arrow_drop_down),
this.iconClosed = const Icon(Icons.arrow_right),
this.fontWeight = FontWeight.bold,
this.horizontalSpaceMultiplier = 18,
this.verticalOffset = 4,
this.additionalIndentChildElements = 6,
this.fontStyle,
});