Skip to content

Add List support #919

Description

@Kyle-Ye

Summary

Add public List support for static and data-driven row content.

Scope

  • Add the public List container API and common initializers.
  • Support row composition with ForEach and dynamic content updates.
  • Integrate with existing list-adjacent APIs such as ListStyle and EditMode.
  • Establish baseline behavior for row layout, separators, selection/editing hooks, and styling.

Acceptance criteria

  • Static List { ... } content renders as rows.
  • Data-driven List/ForEach content preserves identity across updates.
  • Basic list styling and edit-mode behavior have tests or examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: layoutLayout, geometry, safe area, alignment, stacks, or sizing.area: renderingDisplayList, render backends, renderer hosts, drawing, and effects.area: viewView APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior.type: featureNew API, behavior, platform support, or user-facing capability.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions