I want to give my CustomScrollView the value of AxisDirection.up to reverse the laying of the children, but I can't find a way of doing this! Can someone help me? Thanks!
Related
I am new to gestures and I don't get any proper solution for achieving my request,
Can anyone help me in dragging a container up and down vertically to a certain point?.
I need to achieve something like the below image.
Thanks in advance.
Consider using draggable home if you want a ready-made similar effect.
If you want to replicate the goggle maps UI one-on-one, consider reading DraggableScrollableSheet and make one your own.
Hope it helps!
I want to make a custom background like this one.
Can Anyone help me, please?
You can use CustomPainter library in the flutter. This reference will help you get this result.
I am trying to create a list of months, and their days Like this, using a vertical pageview wont do, because the months don't all have the same size, and a listview does not let me set a default position easily. Is there a good way to approach this that I am not thinking of?
So I found https://pub.dev/packages/indexed_list_view which lets me do exactly what I want to, scroll in any direction, and jump to a location :)
I'm generating multiple widgets(Containers in this case) using a ListView.builder and I also use a custom ClipPath to give a custom shape to them.
I was wondering if would it be possible to translate or somehow overlay those list items in order to place them so that the background(black area in the attached screenshot) would be covered. By that I mean I want to place them right under each other, like puzzle pieces. To be able to fit them right under each other would probably mean they would have to be overlayed somehow. Was googling but without any success.
Hopefully there's some Flutter experts out there who are nice enough to guide me. Thanks a lot!
Is there any way how we can use CCScrollView for vertical scrolling .. ?
I am trying to use it, And I am not able to make it scroll in vertical direction.
Please help me with some ideas or tutorials on how to use CCScrollView for scrolling vertically .. ? Or any other way by which a vertical scroll can be achieved in Cocos2d.. ?
Thanks for your time..!!
I found the work around.. THanks #Superman: I looked into mixing UIKit with Cocos2d and I found THIS, It helped me. !!
I hope It helps anyone looking out for the same :)
CCScrollView *scrollView=CCScrollView::create(CCSizeMake(screenSize.width,screenSize.height));
scrollView->setContentSize(CCSizeMake(screenSize.width,screenSize.height-header->getContentSize().height));
scrollView->setPosition(ccp(0,0));
scrollView->setDirection(kCCScrollViewDirectionVertical);
this->addChild(scrollView,0);