render method

Widget render(
  1. AppModel app,
  2. BuildContext context,
  3. MemberModel? memberModel,
  4. String document,
  5. List<DocumentItemModel>? images,
  6. BackgroundModel? bdm,
)

Implementation

Widget render(AppModel app, BuildContext context, MemberModel? memberModel,
    String document, List<DocumentItemModel>? images, BackgroundModel? bdm) {
  DocumentParameterProcessor documentParameterProcessor =
      ExtendedDocumentParameterProcessor(context, app, images: images);
  return Container(
      clipBehavior:
          BoxDecorationHelper.determineClipBehaviour(app, memberModel, bdm),
      child: _rendered(
          app, context, documentParameterProcessor.process(document)),
      margin: BoxDecorationHelper.determineMargin(app, memberModel, bdm),
      padding: BoxDecorationHelper.determinePadding(app, memberModel, bdm),
      decoration: BoxDecorationHelper.boxDecoration(app, memberModel, bdm));
}