ViewerComponentSection class abstract

Inheritance

Constructors

ViewerComponentSection({required String id, required String title, String? description, required String ctorName, String? designLink, required ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, required ViewerSourceCode sourceCode})
const
factory

Properties

builder ViewerWidgetBuilder
Widget builder to construct the widget with available data builders.
no setter
copyWith → $ViewerComponentSectionCopyWith<ViewerComponentSection>
no setter
ctorName String
Name of the widget constructor.
no setter
description String?
Description of the section.
no setter
Link to a design file of the widget.
no setter
examples List<ViewerComponentExample>
Examples with the constructor
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
Id of the section.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchableElements List<SearchableElement>
Get all searchable elements
no setterinherited
sourceCode ViewerSourceCode
Widget source code information.
no setter
title String
Title of the section.
no setter

Methods

map<TResult extends Object?>({required TResult paragraph(ViewerParagraphSection value), required TResult component(ViewerComponentSection value), required TResult apiDocs(ViewerApiDocsSection value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult paragraph(ViewerParagraphSection value)?, TResult component(ViewerComponentSection value)?, TResult apiDocs(ViewerApiDocsSection value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult paragraph(ViewerParagraphSection value)?, TResult component(ViewerComponentSection value)?, TResult apiDocs(ViewerApiDocsSection value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult paragraph(String id, String title, String? description, List<ViewerCollectionItemUnion> contents)?, TResult component(String id, String title, String? description, String ctorName, String? designLink, ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, ViewerSourceCode sourceCode)?, TResult apiDocs(String id, String title, String? description)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult paragraph(String id, String title, String? description, List<ViewerCollectionItemUnion> contents), required TResult component(String id, String title, String? description, String ctorName, String? designLink, ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, ViewerSourceCode sourceCode), required TResult apiDocs(String id, String title, String? description)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult paragraph(String id, String title, String? description, List<ViewerCollectionItemUnion> contents)?, TResult component(String id, String title, String? description, String ctorName, String? designLink, ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, ViewerSourceCode sourceCode)?, TResult apiDocs(String id, String title, String? description)?}) → TResult?
inherited

Operators

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