CPListSection class
A section object of list items that appear in a list template.
Constructors
-
CPListSection({String? header, required List<
CPListItem> items}) - Creates CPListSection that contains zero or more list items. You can configure a section to display a header, which CarPlay displays on the trailing edge of the screen.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → String?
-
Header text of the section.
final
-
items
→ List<
CPListItem> -
A list of items as [
CPListItem
] to include in the section.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uniqueId → String
-
no setter
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