Today I have a question, not providing any code. I would like to create a tiktok like experience for scrolling through my appfeed in flutter. However I don't want to scroll an entire page when I swipe, only to the next widget in the ListView/PageView. I am only able to swipe an entire page with pageview and I'm only able to scroll normally on Listview. Is there any solution for my request? I hope I clarified enough what I mean. Instagram offers such an experience on its Search. Is there any possibility how one could realize something like that? Please help.
Flutter PageView Scroll but only for widgets and not entire pages
2.1k views Asked by Tobias Welti At
3
There are 3 answers
2
Omar Hakeem
On
Use ListView.builder inside the Container with the 500px height and the ListView.builder will have the children posts thus you stay inside the same feed with the ability to swipe thru posts vertically or horizontally.
Check the following link for a tutorial : https://www.youtube.com/watch?v=baA_J5tUtEU
You can change the scrolling by setting scrollDirection: Axis.horizontal or Axis.vertical inside the ListView.buidler
Hope this answers your question.
Related Questions in FLUTTER
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- Way to get CustomPainter to track face in Camera Flutter MLKit
- flutter Null check error: did not show file and line number
- Creating multiple instances of a class with different initializing values in Flutter
- I want to paste stickers into to my TextField and to show the stickers beside the emojis
- Flutter plugin development android src not opening after opening example
- Module not found when building flutter app for IOS
- How to make barrier area interactive in flutter modal bottom sheet
- Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
- I wrote this time displaying FLUTTER app, How can I improve it?
- Appwrite and / or Spring Boot Backend
- Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
Related Questions in DART
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- How to make barrier area interactive in flutter modal bottom sheet
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- I wrote this time displaying FLUTTER app, How can I improve it?
- How Do I Create A Path In The pubspec.yaml File?
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- 'New messages' separator like WhatsApp
- How to implement pagination on the custom dropdown item's in flutter
- How to create a listTile from a class in Flutter based on an collected id from the previous page
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
- Issue with Loading Images in Flutter FragmentShader and GLSL Code
- How to change the return type of memoizer?
- What is the difference between `context.watch` and `context.select` in flutter_bloc?
Related Questions in SCROLLVIEW
- ScrollView with multiple LazyVGrids jumping around when using .scrollPosition
- Why does my ViewPager not show anything when i add a scrollview?
- How to know when the user stop interacting with a SwiftUI Scrollview
- Add block vigets one button
- Weird animation bug inside scrollview with lazyhstack
- Use SwiftUI to turn the text overlapping the rectangle in ScrollView white
- Lag on LazyVStack
- SwiftUI: Chat like scrolling and keyboard behaviour
- Content inside ScrollView React Native can't be scrolled
- How to extend color beyond the top edge in SwiftUI
- How to detect user scrolll on the scrollview
- QML ScrollView does not remove default ScrollBar when using custom ScrollBar. Why? How to solve this?
- Interpolation from reanimated doesn't work on scroll indicator from inside flatlist
- Enable FlatList bouncing iOS behavior for Android
- How to update an item inside if a TabView with .tabViewStyle(.page) in ios lower than 17?
Related Questions in FLUTTER-PAGEVIEW
- Flutter PageView: Can I make pages Overlap?
- Problem to keep value in a Textfield with the components PageController and PageView
- Flutterpage.view builder show the left page only top left of page animation
- Scrolling in both directions (Right to Left <=> Left to Right) with Flutter PageView widget
- Reverse Index Swipe on card_swiper in flutter
- Flutter set Page View Builder height based on device display size setting
- Flutter. How to display 3 pages in PageView with Opacity and resize
- Restore pageView state when switching to another app page and back
- the bottomnavigation bar contain five items and when selecting the second one ,the remaining items need to change, pages also need to change
- Create link (edge) between widget in Flutter with Page View
- Why does Flutter PageView resets to page 0 after setState
- Flutter PageView.builder Issue: Images Beyond Initial View Not Rendering Correctly During Horizontal Scroll
- Keep BottomNavigationBar When Push to New Screen
- Flutter PageView next page not preloded its taking second to load data but data prefetched
- Pageview rebuilds first widget of the Navigator
Related Questions in TIKTOK
- Embedded TikTok posts / thumbnail styling issue
- Is flutter tiktok SDK outdated?
- TicTok Shop API to get direct messages
- How to use TikTok API without a website/privacy policy url/terms of service url?
- Load video same as tiktok or Instagram in flutter using Video Player and PageView Builder also How to handle the video controller for each video
- TikTok Login Kit - unable to get access token
- Using TikTok's Partner API and PHP, how do you create the signature to pass with API calls?
- TikTok Android SDK integration doesn't work
- Using Playwright to Find and Click on Button with Dynamic CSS (Scraping TikTok)
- Using ImportXML to extract view counts of urls from a tiktok account
- Tiktok Creator Marketplace API 40115 errors during oauth
- TikTok business API: OAuth2 authorization code is always expired
- Authenticating with OAuth2 in Python - TikTok API for business developers
- Trouble Uploading Content on TikTok via Selenium: Need Help Resolving Issues
- TikTok API - Troubleshooting "Signature is Invalid" Error in "Get Order Settlements" API Call with Node.js
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
So what you want to do is to use a Stack widget and then put the pageview, just as you would if you were creating an onboarding screen with flutter, something like this
Here's what it looks like