BaseJsonViewer constructor
BaseJsonViewer(
- dynamic jsonObj, {
- Key? key,
- required void onTap(
- dynamic value
- required void onDoubleTap(
- dynamic value
- required void onLongPress(
- dynamic value
Implementation
BaseJsonViewer(
this.jsonObj, {
super.key,
required void Function(dynamic value) onTap,
required void Function(dynamic value) onDoubleTap,
required void Function(dynamic value) onLongPress,
}) {
JSONText.onTap = onTap;
JSONText.onDoubleTap = onDoubleTap;
JSONText.onLongPress = onLongPress;
}