alist 0.0.2 copy "alist: ^0.0.2" to clipboard
alist: ^0.0.2 copied to clipboard

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

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

1
likes
80
pub points
0%
popularity

Publisher

verified publishergioser.ec

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

Repository (GitLab)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

auto_animated, bordered_text, flutter, flutter_sticky_header, pull_to_refresh

More

Packages that depend on alist