Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to make a 3d carousel like the demo design attached

Tags:

flutter

dart

Are there any packages in flutter to make this type of 3d carousel slider?

enter image description here

like image 759
Mainul Islam Rajon Avatar asked Dec 07 '25 03:12

Mainul Islam Rajon


1 Answers

You requirement is a little like ipod coverflow, this is quite close to what you need, perspective_pageview:

Container(
          child: Center(
            // Adding Child Widget of Perspective PageView
            child: PerspectivePageView(
              hasShadow: true, // Enable-Disable Shadow
              shadowColor: Colors.black12, // Change Color
              aspectRatio: PVAspectRatio.ONE_ONE, // Aspect Ratio of 1:1 (Default)
              children: <Widget>[
                GestureDetector(
                  onTap: () {
                    debugPrint("Statement One");
                  },
                  child: Container(
                    color: Colors.red,
                  ),
                ),
                GestureDetector(
                  onTap: () {
                    debugPrint("Statement Two");
                  },
                  child: Container(
                    color: Colors.green,
                  ),
                )
              ],

            ),
          ),
        ),
like image 68
Jim Avatar answered Dec 12 '25 02:12

Jim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!