简体   繁体   English

如何在颤动中实现具有滚动功能的水平日期列表?

[英]How do I achieve an horizontal date list with scrolling functionality in flutter?

How do I achieve an horizontal date list with scrolling functionality like the gif below in flutter?如何在颤动中实现具有滚动功能的水平日期列表,如下面的 gif? image gif图像 gif

You have to use ListView with scrollDirection as Horizontal as simple as that ex:您必须使用 ListView 和 scrollDirection 作为 Horizo​​ntal 一样简单,例如:

ListView(
  scrollDirection: Axis.horizontal,
  children:[
   //your ui logic here

  ]);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Flutter中实现水平可滚动header的垂直滚动列表 - How to achieve vertical scrolling list with horizontal scrollable header in Flutter 我想做可扩展的列表视图,如下图所示。 如何在 flutter 中实现此类功能? - I want to do the expandable list view as below in attached image. How can I achieve this type of functionality in flutter? 如何实现List的gridview水平滚动(轮播)<widget> function 在 flutter 中?</widget> - how to achieve gridview horizontally scrolling (carousell) for List<Widget> function in flutter? Flutter中如何实现SingleLine Horizontal CalendarView - How to achieve SingleLine Horizontal CalendarView in Flutter flutter 中的可点击水平列表视图。 如何使用列表中的图像制作可点击的列表视图 - tappable Horizontal list view in flutter. how do i make a clickable list view with images from the list 如何在颤动中实现“instagram 相机”滚动? - How to achieve "instagram camera" scrolling in flutter? 颤动鼠标滚动在水平列表中不起作用 - flutter mouse scrolling is not work in horizontal list Flutter中如何实现ListView平滑滚动 - How to achieve ListView smooth scrolling in Flutter 在 Flutter 中,如何使整个页面成为垂直列表但其中的元素是水平列表? - In Flutter how do I make the whole page be a vertical list but an element inside it is a horizontal list? 如何在 flutter 中通过反馈实现向左/向右滑动 - How do I achieve swipe left/right with feedback in flutter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM