JsonViewBody constructor

const JsonViewBody({
  1. Key? key,
  2. required dynamic json,
  3. JsonColorScheme? colorScheme,
  4. JsonStyleScheme? styleScheme,
  5. bool? animation,
  6. EdgeInsets? itemPadding,
  7. Duration? animationDuration,
  8. Curve? animationCurve,
  9. int? gap,
  10. 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);