JsonView constructor

const JsonView({
  1. Key? key,
  2. required dynamic json,
  3. bool shrinkWrap = false,
  4. EdgeInsetsGeometry? padding,
  5. ScrollPhysics? physics,
  6. ScrollController? controller,
  7. Widget? arrow,
  8. JsonColorScheme? colorScheme,
  9. JsonStyleScheme? styleScheme,
  10. bool? animation,
  11. EdgeInsets? itemPadding,
  12. Duration? animationDuration,
  13. Curve? animationCurve,
  14. int? gap,
})

provider a json view, build with listview

see more JsonConfig to customize the view

Implementation

const JsonView({
  Key? key,
  required this.json,
  this.shrinkWrap = false,
  this.padding,
  this.physics,
  this.controller,
  this.arrow,
  this.colorScheme,
  this.styleScheme,
  this.animation,
  this.itemPadding,
  this.animationDuration,
  this.animationCurve,
  this.gap,
}) : super(key: key);