widget_animator 1.0.0+3

Widget Animator #

Build Status Build Status

This package helps you to easily animate your widgets with just a few steps.

This works well on your ListView items and... actually all of your widgets!

Demo #

Using #

 return Scaffold(
      backgroundColor: Colors.white,
      body: ListView.builder(
        itemCount: 32,
        itemBuilder: (context, index) {
            return WidgetAnimator(
              curve: Curves.easeIn, // Optional, choose the type of animation curve you want!
              duration: Duration(milliseconds: 120), // Optional, defaults to 290ms
              child: ListTile(
                title: Text('Item $index'),
              ),
            );
        },
      ),
    );

[0.0.1] - October 29, 2019

  • Initial release

[0.0.2] - October 30, 2019

  • Pivoted the library to Widget Animator

[1.0.0] - October 31, 2019

  • Implemented the core features

[1.0.0+1] - October 31, 2019

  • Updated description

[1.0.0+2] - October 31, 2019

  • Updated description

[1.0.0+3] - November 4, 2019

  • Minor bug fixes

example/README.md

widget_animator_example #

Demonstrates how to use the widget animator plugin

 return Scaffold(
      backgroundColor: Colors.white,
      body: ListView.builder(
        itemCount: 32,
        itemBuilder: (context, index) {
            return WidgetAnimator(
              curve: Curves.easeIn, // Optional, choose the type of animation curve you want!
              duration: Duration(milliseconds: 120), // Optional, defaults to 290ms
              child: ListTile(
                title: Text('Item $index'),
              ),
            );
        },
      ),
    );

Getting Started #

For help getting started with Flutter, view the online documentation

Use this package as a library

1. Depend on it

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


dependencies:
  widget_animator: ^1.0.0+3

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:widget_animator/widget_animator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
52
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
76
Learn more about scoring.

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

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Dependencies

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
flutter_test