vidarrrr / Rotated-List-View-Flutter

Rotated List View Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rotated List View Flutter

Rotated List View

The angle of the current visible item will be 0. The previous will be -10 and the next 10 angles. These angles will change as you scroll.

RotatedListView

  • List dataList : Data List with T type.
  • Function(dynamic, int, int) onChildCreate : Return widget with value, index and listView currentIndex.
  • Function(int) getCurrentClickedItemIndex : Current clicked item index.
  • double visibleFraction : Compare value with visibilityInfo.visibleFraction.

ItemView

  • Widget child : Pass widget.
  • int currentIndex : Current index of visible item.
  • int index : Index of item.
  • int currentItemFraction : Angle of current item.
  • int previousItemFraction : Angle of previous item.
  • int nextItemFraction : Angle of next item.

Screenshots

About

Rotated List View Flutter

License:Apache License 2.0


Languages

Language:C++ 41.1%Language:CMake 36.7%Language:Dart 13.2%Language:HTML 3.6%Language:C 2.8%Language:Swift 2.3%Language:Kotlin 0.3%Language:Objective-C 0.1%