JsonStyleScheme constructor

const JsonStyleScheme({
  1. TextStyle? keysStyle = const TextStyle(),
  2. TextStyle? valuesStyle = const TextStyle(),
  3. JsonQuotation? quotation = const JsonQuotation(),
  4. Widget? arrow,
  5. bool? openAtStart = false,
  6. int depth = 0,
})

Json style scheme

props:

  • keysStyle
  • valuesStyle
  • quotation
  • arrow
  • openAtStart
  • depth

Implementation

const JsonStyleScheme({
  this.keysStyle = const TextStyle(),
  this.valuesStyle = const TextStyle(),
  this.quotation = const JsonQuotation(),
  this.arrow,
  this.openAtStart = false,
  this.depth = 0,
}) : assert(depth >= 0);