Function to extract child items for hierarchical display.
final ItemChildrenAccessor<T>? itemChildren;