Skip to content

feat: add emptyPlaceholder support for empty list states#228

Open
chrystoffer wants to merge 1 commit into
Dimibe:mainfrom
chrystoffer:main
Open

feat: add emptyPlaceholder support for empty list states#228
chrystoffer wants to merge 1 commit into
Dimibe:mainfrom
chrystoffer:main

Conversation

@chrystoffer
Copy link
Copy Markdown

Adds a emptyPlaceholder property to allow displaying custom content
when the list is empty.

If an emptyPlaceholder is provided, it will be rendered when no items
are available. Otherwise, a SizedBox will be used as the default empty
state widget.

This improves flexibility for consumers of the package by enabling
custom empty state messages, illustrations, or actions.

@chrystoffer chrystoffer requested a review from Dimibe as a code owner June 5, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant