build method

  1. @override
Widget build(
  1. BuildContext context,
  2. T content
)
override

Builds the layout for the content item. This transforms the content into a Flutter Widget.

Implementation

@override
Widget build(BuildContext context, T content) {
  final unknown = Unknown(
      missingSchemaType: missingSchemaType,
      description:
          'This is due to a missing ConditionalLayout with schemaType: $missingSchemaType.');

  return vyuh.content.buildContent(context, unknown);
}