buildSeoApprovalChecklistNodes function
List<SeoNode>
buildSeoApprovalChecklistNodes({
- required List<
SeoApprovalChecklistItemEntry> items, - required SeoApprovalChecklistState initialState,
- required SeoApprovalChecklistViewProjection project,
- String? interactionId,
- int headingLevel = 2,
- String heading = 'Approval checklist',
- String interactionLabel = 'Approval checklist controls',
- String statusLabel = 'Status',
- String progressLabel = 'Progress',
Implementation
List<SeoNode> buildSeoApprovalChecklistNodes({
required List<SeoApprovalChecklistItemEntry> items,
required SeoApprovalChecklistState initialState,
required SeoApprovalChecklistViewProjection project,
String? interactionId,
int headingLevel = 2,
String heading = 'Approval checklist',
String interactionLabel = 'Approval checklist controls',
String statusLabel = 'Status',
String progressLabel = 'Progress',
}) {
final plan = prepareSeoApprovalChecklistComponent(
items: items,
initialState: initialState,
project: project,
interactionId: interactionId,
headingLevel: headingLevel,
heading: heading,
interactionLabel: interactionLabel,
statusLabel: statusLabel,
progressLabel: progressLabel,
);
return plan == null ? const [] : buildSeoApprovalChecklistPlanNodes(plan);
}