s0nerik / two_way_scrollable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

two_way_scrollable

two_way_scrollable two_way_scrollable two_way_scrollable two_way_scrollable

A set of two-way growable widgets for Flutter that properly fill the viewport even if there is not enough content.

Example

example

Features

  • TwoWayCustomScrollView - a CustomScrollView replacement that properly grows in both directions.
  • TwoWayListView - an AnimatedListView analog that properly grows in both directions. Based on TwoWayCustomScrollView and SliverTwoWayList.
  • SliverTwoWayList - a set of Sliver widgets that can be used with TwoWayCustomScrollView/CustomScrollView to achieve any positioning in a list.

Note: TwoWayCustomScrollView and TwoWayListView only allow anchoring to the top or bottom, but not in the middle.

Getting started

flutter pub add two_way_scrollable

Usage

return TwoWayListView(

About

License:MIT License


Languages

Language:Dart 43.8%Language:C++ 26.3%Language:CMake 21.4%Language:Ruby 3.1%Language:HTML 2.1%Language:C 1.6%Language:Swift 1.4%Language:Kotlin 0.1%Language:Objective-C 0.0%