Section class
A section contains a collection of widgets that are rendered (vertically) in the order that they are specified.
Across all platforms, cards have a narrow fixed width, so there's currently no need for layout properties (for example, float).
Constructors
-
Section({String? header, List<
WidgetMarkup> ? widgets}) - Section.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header ↔ String?
-
The header of the section.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
widgets
↔ List<
WidgetMarkup> ? -
A section must contain at least one widget.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited