CPListSection constructor

CPListSection({
  1. String? header,
  2. 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.

Implementation

CPListSection({
  this.header,
  required this.items,
});