Android代码-Flutter实现的swipe card效果。

时间:2022-08-26 00:57:27
【文件属性】:

文件名称:Android代码-Flutter实现的swipe card效果。

文件大小:1.17MB

文件格式:ZIP

更新时间:2022-08-26 00:57:27

Android代码

Tinder cards Hi! After showcasing Focus for Reddit, the app I am working on, people asked me how did I do the tinder like cards swipe (posts media are shown as a stack of 3 swipable cards) and if I could make tutorial or open-source it: And I did it! Here it is. I've created a Tinder like user interface (not working, that's not the point). I've found 2 ways of doing this (there may be way more ways) Using Draggable Using GestureDetector and Alignment (what I use for my app) P.S: Use the appB


【文件预览】:
tinder_cards-master
----pubspec.yaml(2KB)
----tinder_cards.iml(896B)
----flutter_01.png(936KB)
----ios()
--------Runner()
--------Runner.xcodeproj()
--------Flutter()
--------.gitignore(501B)
--------Runner.xcworkspace()
----lib()
--------profile_card_draggable.dart(1KB)
--------cards_section_draggable.dart(3KB)
--------profile_card_alignment.dart(2KB)
--------swipe_feed_page.dart(3KB)
--------cards_section_alignment.dart(7KB)
--------main.dart(367B)
----tinder_cards_android.iml(1KB)
----pubspec.lock(9KB)
----.idea()
--------libraries()
--------workspace.xml(1KB)
--------modules.xml(388B)
--------runConfigurations()
----res()
--------portrait.jpeg(138KB)
----android()
--------gradlew(5KB)
--------settings.gradle(484B)
--------gradle()
--------gradlew.bat(2KB)
--------gradle.properties(29B)
--------.gitignore(136B)
--------app()
--------build.gradle(470B)
----.metadata(284B)
----README.md(3KB)
----.gitignore(65B)

网友评论