toContainer static method
Widget
toContainer(
- AppModel app,
- MemberModel? member,
- BackgroundModel? background,
- Widget child,
)
Implementation
static Widget toContainer(AppModel app, MemberModel? member,
BackgroundModel? background, Widget child) {
return Container(
clipBehavior:
BoxDecorationHelper.determineClipBehaviour(app, member, background),
margin: BoxDecorationHelper.determineMargin(app, member, background),
padding: BoxDecorationHelper.determinePadding(app, member, background),
decoration: BoxDecorationHelper.boxDecoration(app, member, background),
child: child);
}