JsonView constructor
const
JsonView({
- Key? key,
- required dynamic json,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- ScrollPhysics? physics,
- ScrollController? controller,
- Widget? arrow,
- JsonColorScheme? colorScheme,
- JsonStyleScheme? styleScheme,
- bool? animation,
- EdgeInsets? itemPadding,
- Duration? animationDuration,
- Curve? animationCurve,
- 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);