Flutter How to vertical scroll a screen like a book
140
You should use PageView. Using page view you can either scroll page horizontally or vertically.
PageView.builder(
itemBuilder: (context, position) {
return _buildPage();
},
itemCount: listItemCount,
scrollDirection: Axis.vertical,
)
Author by
Abdelrahman M. Elmarakby
Junior flutter developer who is looking for Devs to help him and active questioner to get the best experience as much as I can to teach people to be excellent flutter developers.
Updated on December 12, 2022Comments
-
Abdelrahman M. Elmarakby over 1 year
I want to make an e-book with scrolling screens that are images with Flutter
-
Prashant Pimpale almost 5 yearsYou need to post the tried code.
-
Abdelrahman M. Elmarakby almost 5 yearsI am asking for code how should I try something I don't know ??
-