Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Magnifying param #4

Open
BaudouinCS opened this issue Sep 1, 2022 · 3 comments
Open

[Suggestion] Magnifying param #4

BaudouinCS opened this issue Sep 1, 2022 · 3 comments

Comments

@BaudouinCS
Copy link

Hi!

In addition to #3, the "selected" element of the wheel (the one blocked), could be magnified.
From a user experience with other packages, I found myself prefering a scale change applied to all the children rather than a magnifying glass effect applied to only the selected child. This way, the selected child has a x1 scale, and the previous/next children have a progressively lower scale until x0.5 for the other half of the circle for example.

@BaudouinCS
Copy link
Author

Here is an example of the magnifying glass effect (with ListWheelScrollView):

magnifying

Versus the (in my opinion much better looking) scale change effect (with CarouselSlider):

slider

To replicate the former, you can try this after installing the package:

CarouselSlider(
    items: someListOfWidgets,
    options: CarouselOptions(
        viewportFraction: 0.195,
        enlargeCenterPage: true,
        scrollDirection: Axis.vertical,
    ),
)

@lewiseman
Copy link
Owner

@BaudouinCS I can look into adding #2 and #3 , but no promise , this is a little complex in regard to how the current implementation is already done .
Though i will try my best to add it , its a good feature .

@BaudouinCS
Copy link
Author

Hi! Is there any update on #2 and #3 ?

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

No branches or pull requests

2 participants