Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.04 KB

Autolist

pub package

Animated list views, automatically.

Autolist transforms regular dart lists them into a fully animated list views, automatically managing insertions and deletions.

Demo

autolist_demo

To use:

See more in example/lib/main.dart

  AutoList<int>(
    items: _items,
    duration: Duration(milliseconds: 400),
    itemBuilder: (context, item) {
      return Row(
        children: <Widget>[
          Expanded(
            child: Container(
              padding: EdgeInsets.all(20),
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(),
                ),
              ),
              child: Text(
                item.toString(),
                key: Key(item.toString()),
              ),
            ),
          ),
        ],
      );
    },
  )