Skip to content

Support SliverAppBar as header #25

Open
@tlvenn

Description

@tlvenn

I would like to use the SliverAppBar as the header but right now this is not possible because of the explicit SliverToBoxAdapter being used with the header.

https://github.com/TheMisir/flutter-listutils/blob/master/lib/src/custom_list_view.dart#L367

Ideally we should either detect if the header is an instance of theSliverAppBar or maybe more broadly let the user tell us if the header is a sliver (this concept could / should probably be extended to the footer as well if we decide to go this way).

@themisir what do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions