yourWidget method

  1. @override
Widget yourWidget(
  1. BuildContext context,
  2. PresentationModel? value
)
override

Implementation

@override
Widget yourWidget(BuildContext context, PresentationModel? value) {
  var widgets = value!.bodyComponents!
      .map((model) => Apis.apis().getRegistryApi().component(
          context, app, model.componentName!, model.componentId!,
          parameters: parameters))
      .toList();
  return PlatformPresentationHelper.makeContainingTable(
      context,
      widgets,
      value.image,
      value.imagePositionRelative,
      value.imageAlignment,
      value.imageWidth);
}