Skip to content

SongTube/autolist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()),
              ),
            ),
          ),
        ],
      );
    },
  )