AAListTemplate constructor
AAListTemplate({})
Implementation
AAListTemplate({
required this.title,
required this.sections,
this.emptyViewTitleVariants,
this.tabTitle,
this.systemIcon,
this.iconUrl,
String? id,
}) : assert(
!sections.any((section) => section.isSelectable) ||
sections.length == 1,
'Android Auto selectable list sections cannot be mixed with other sections.',
),
_elementId = id ?? const Uuid().v4();