sliver_animated_list 1.0.0+2

  • Readme
  • Changelog
  • Example
  • Installing
  • 90

sliver_animated_list #

pub package Build Status

Animated List to Sliver

AnimatedList uses a pattern we know is bad: it provides the scroll view. This package combine AnimatedList with a Sliver.


Usage #

Add sliver_animated_list to your pubspec:

  sliver_animated_list: ^1.0.0
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: CustomScrollView(
          // Column is also layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          slivers: <Widget>[
              key: _listKey,
              initialItemCount: _list.length,
              itemBuilder: _buildItem,
              delegate: SliverChildBuilderDelegate(
                (BuildContext context, int i) {
                  return Container(
                    height: 100,
                    child: Text('SliverListTile : $i'),
                childCount: 3,

See the example/ folder for a working example app.

Change Log #

v1.0.0+1 #

Full Changelog

Merged pull requests:

v1.0.0 (2019-08-20)

Full Changelog

Merged pull requests:

v0.0.1+1 (2019-08-01)

Full Changelog

v0.0.1 (2019-08-01)

Merged pull requests:

  • ci(azure pipelines): Azure pipelines #1 (amondnet)

* This Change Log was automatically generated by github_changelog_generator


sliver_animated_list_example #

Demonstrates how to use the sliver_animated_list.


Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  sliver_animated_list: ^1.0.0+2

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:sliver_animated_list/sliver_animated_list.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/sliver_animated_list.dart. (-1 points)

Analysis of lib/sliver_animated_list.dart reported 2 hints:

line 85 col 10: 'ancestorStateOfType' is deprecated and shouldn't be used. Use findAncestorStateOfType instead. This feature was deprecated after v1.12.1..

line 85 col 36: 'TypeMatcher' is deprecated and shouldn't be used. TypeMatcher has been deprecated because it is no longer used in framework(only in deprecated methods). This feature was deprecated after v1.12.1..


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies