SectionBlock class
Displays text, possibly alongside block elements.
A section
can be used as a text block, in combination with text fields, or side-by-side with certain block elements.
Properties
-
accessory
→ Map<
String, dynamic> ? -
One of the compatible element objects.
final
-
fields
→ List<
String> ? -
Required if no
text
is provided. Any text included withfields
will be rendered in a compact format that allows for 2 columns of side-by-side text. Maximum number of items is 10. Maximum length for each item is 2000 characters.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The text for the block.
Maximum length for this field is 3000 characters.
This field is not required if a valid array of
fields
is provided instead.final
Methods
-
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.
inherited