render method
Widget
render(
- AppModel app,
- BuildContext context,
- MemberModel? memberModel,
- String document,
- List<
DocumentItemModel> ? images, - 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));
}