Skip to content

Add a boolean property to disable fit: StackFit.expand #3

@PranayD1807

Description

@PranayD1807

I need the carousel in my use case to adjust its height based on its children's minimum height. Specifically, I have a list view displaying cards that I want to animate using the carousel. Since I cannot set a fixed height for the cards, I can meet my requirements by removing fit: StackFit.expand from the code snippet provided in the flutter_custom_carousel package. Introducing a boolean property like isDense would be helpful for this purpose.

https://github.com/gskinnerTeam/flutter_custom_carousel/blob/daebf7f3603f821640f93d0ffea2db85ff2822e7/lib/src/custom_carousel.dart#L409C5-L412C7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions