ContentBuilder<T extends ContentItem> class

Constructors

ContentBuilder({required TypeDescriptor<T> content, required LayoutConfiguration<T> defaultLayout, required TypeDescriptor<LayoutConfiguration<ContentItem>> defaultLayoutDescriptor})

Properties

content → TypeDescriptor<T>
final
defaultLayout → LayoutConfiguration<T>
final
defaultLayoutDescriptor → TypeDescriptor<LayoutConfiguration<ContentItem>>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, T content) Widget
init(List<ContentDescriptor> descriptors) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDescriptors<U>(Iterable<TypeDescriptor<U>> descriptors, {bool checkUnique = false}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited