JsonShrinkWidget constructor

const JsonShrinkWidget({
  1. dynamic json,
  2. bool? shrink,
  3. int deep = 0,
  4. String indentation = " ",
  5. JsonShrinkStyle style = const JsonShrinkStyle(),
  6. String jsonKey = "",
  7. bool needAddSymbol = false,
  8. int deepShrink = 99,
  9. ValueChanged<bool>? shrinkCallBack,
  10. InlineSpan urlSpanBuilder(
    1. String url,
    2. JsonShrinkStyle style
    )?,
  11. Key? key,
})

Implementation

const JsonShrinkWidget({
  this.json,
  this.shrink,
  this.deep = 0,
  this.indentation = " ",
  this.style = const JsonShrinkStyle(),
  this.jsonKey = "",
  this.needAddSymbol = false,
  this.deepShrink = 99,
  this.shrinkCallBack,
  this.urlSpanBuilder,
  Key? key,
}) : super(key: key);