buildContent<T extends ContentItem> method
Widget
buildContent<T extends ContentItem>(
- BuildContext context,
- T content, {
- 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),
);
}