JsonRecyclerController constructor

JsonRecyclerController({
  1. required bool isExpanded,
  2. bool saveClosedHistory = true,
  3. bool showStandardJson = false,
  4. Color jsonKeyColor = CrJsonColors.jsonKeyColor,
  5. Color intColor = CrJsonColors.intColor,
  6. Color doubleColor = CrJsonColors.doubleColor,
  7. Color stringColor = CrJsonColors.stringColor,
  8. Color nullColor = CrJsonColors.nullColor,
  9. Color boolColor = CrJsonColors.boolColor,
  10. Color objectColor = CrJsonColors.objectColor,
  11. Color standardJsonBackgroundColor = CrJsonColors.jsonBackgroundColor,
  12. Widget iconOpened = const Icon(Icons.arrow_drop_down),
  13. Widget iconClosed = const Icon(Icons.arrow_right),
  14. FontWeight fontWeight = FontWeight.bold,
  15. double horizontalSpaceMultiplier = 18,
  16. double verticalOffset = 4,
  17. double additionalIndentChildElements = 6,
  18. 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,
});