buildContent<T extends ContentItem> method

  1. @override
Widget buildContent<T extends ContentItem>(
  1. BuildContext context,
  2. T content, {
  3. LayoutConfiguration<T>? layout,
})
override

Builds a Widget for the given content. You can pass in an optional layout to override the default layout

Implementation

@override
Widget buildContent<T extends ContentItem>(BuildContext context, T content,
    {LayoutConfiguration<T>? layout}) {
  return vyuh.widgetBuilder.errorView(
    context,
    title: messages['title']!(''),
    error: messages['error']!(content.schemaType),
  );
}