InputPageBlockSectionHeading class

A section heading

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

InputPageBlockSectionHeading({required RichText text, required int size})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
size Relative size of the text font; 1-6; 1 is the largest, 6 is the smallest
final
text → RichText
text Text of the section heading
final

Methods

copyWith({RichText? text, int? size}) → InputPageBlockSectionHeading

Available on InputPageBlockSectionHeading, provided by the InputPageBlockSectionHeadingExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult sectionHeading(InputPageBlockSectionHeading value), required TResult paragraph(InputPageBlockParagraph value), required TResult preformatted(InputPageBlockPreformatted value), required TResult footer(InputPageBlockFooter value), required TResult thinking(InputPageBlockThinking value), required TResult divider(InputPageBlockDivider value), required TResult mathematicalExpression(InputPageBlockMathematicalExpression value), required TResult anchor(InputPageBlockAnchor value), required TResult list(InputPageBlockList value), required TResult blockQuote(InputPageBlockBlockQuote value), required TResult expandableBlockQuote(InputPageBlockExpandableBlockQuote value), required TResult pullQuote(InputPageBlockPullQuote value), required TResult animation(InputPageBlockAnimation value), required TResult audio(InputPageBlockAudio value), required TResult document(InputPageBlockDocument value), required TResult photo(InputPageBlockPhoto value), required TResult video(InputPageBlockVideo value), required TResult voiceNote(InputPageBlockVoiceNote value), required TResult collage(InputPageBlockCollage value), required TResult slideshow(InputPageBlockSlideshow value), required TResult table(InputPageBlockTable value), required TResult details(InputPageBlockDetails value), required TResult map(InputPageBlockMap value), required TResult buttonRow(InputPageBlockButtonRow value)}) → TResult

Available on InputPageBlock, provided by the InputPageBlockExtensions extension

maybeMap<TResult extends Object?>({TResult sectionHeading(InputPageBlockSectionHeading value)?, TResult paragraph(InputPageBlockParagraph value)?, TResult preformatted(InputPageBlockPreformatted value)?, TResult footer(InputPageBlockFooter value)?, TResult thinking(InputPageBlockThinking value)?, TResult divider(InputPageBlockDivider value)?, TResult mathematicalExpression(InputPageBlockMathematicalExpression value)?, TResult anchor(InputPageBlockAnchor value)?, TResult list(InputPageBlockList value)?, TResult blockQuote(InputPageBlockBlockQuote value)?, TResult expandableBlockQuote(InputPageBlockExpandableBlockQuote value)?, TResult pullQuote(InputPageBlockPullQuote value)?, TResult animation(InputPageBlockAnimation value)?, TResult audio(InputPageBlockAudio value)?, TResult document(InputPageBlockDocument value)?, TResult photo(InputPageBlockPhoto value)?, TResult video(InputPageBlockVideo value)?, TResult voiceNote(InputPageBlockVoiceNote value)?, TResult collage(InputPageBlockCollage value)?, TResult slideshow(InputPageBlockSlideshow value)?, TResult table(InputPageBlockTable value)?, TResult details(InputPageBlockDetails value)?, TResult map(InputPageBlockMap value)?, TResult buttonRow(InputPageBlockButtonRow value)?, required TResult orElse()}) → TResult

Available on InputPageBlock, provided by the InputPageBlockExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String