alist

Intro

A simplified animated listview/grid with optional sticky header, refresher, and scrollbar.

Features

  • Sliver implementation
  • pull up load and pull down refresh
  • Customized Scrollbar
  • Dependencies: flutter_sticky_header, auto_animated, pull_to_refresh, bordered_text

Usage

add this line to pubspec.yaml


   dependencies:

    alist: ^0.0.1


import package


    import 'package:alist/alist.dart';

Simple example:


 @override
  Widget build(BuildContext context) {
    return AList(
      scrollBar: true,
      scrollColor: const Color(0xff667AD9),
      onRefresh: () => reload(),
      children: loaded.map((item)=>
      Container(
        child: Text(item.text)
      )
      ).toList()
    );
    }

Libraries

alist
cscrollbar