buildSpecBody method

Widget buildSpecBody(
  1. BuildContext context,
  2. Map bodySpec
)

Implementation

Widget buildSpecBody(BuildContext context, Map bodySpec) {
  try {
    final body = Lowder.widgets.buildWidget(context, bodySpec, state, null);
    return body;
  } catch (e, stack) {
    widget.log.severeWithContext(
      "Error building '$name' body from spec.",
      Lowder.properties.getEvaluatorContext(null, state, null),
      e,
      stack,
    );
    return Container();
  }
}