ContentBuilder<T extends ContentItem> constructor

ContentBuilder<T extends ContentItem>({
  1. required TypeDescriptor<T> content,
  2. required LayoutConfiguration<T> defaultLayout,
  3. required TypeDescriptor<LayoutConfiguration<T>> defaultLayoutDescriptor,
})

Implementation

ContentBuilder({
  required this.content,
  required LayoutConfiguration<T> defaultLayout,
  required TypeDescriptor<LayoutConfiguration<T>> defaultLayoutDescriptor,
})  : _defaultLayout = defaultLayout,
      _defaultLayoutDescriptor = defaultLayoutDescriptor;