JsonViewBody constructor
const
JsonViewBody({
- Key? key,
- required dynamic json,
- JsonColorScheme? colorScheme,
- JsonStyleScheme? styleScheme,
- bool? animation,
- EdgeInsets? itemPadding,
- Duration? animationDuration,
- Curve? animationCurve,
- int? gap,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
use with caution, it will cause performance issue when json root items is too large
Implementation
const JsonViewBody({
Key? key,
required this.json,
this.colorScheme,
this.styleScheme,
this.animation,
this.itemPadding,
this.animationDuration,
this.animationCurve,
this.gap,
this.crossAxisAlignment = CrossAxisAlignment.start,
}) : super(key: key);