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

A Flutter plugin that animates ListView and PageView items on scroll, offering diverse effects like scaling, fading, translating, and rotating for dynamic user interactions.

example/lib/main.dart

import 'package:animated_item_example/src/animated_page_example.dart';
import 'package:flutter/material.dart';

import 'src/animated_item_example.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
            appBar: AppBar(
              title: const Text('AnimatedItem example app'),
            ),
            body: Builder(builder: (context) {
              return Center(
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: [
                    ElevatedButton(
                        onPressed: () => Navigator.of(context).push(
                            MaterialPageRoute(
                                builder: (BuildContext context) =>
                                    const AnimatedItemExample())),
                        child: const Text('Animated Item')),
                    const SizedBox(height: 15),
                    ElevatedButton(
                        onPressed: () => Navigator.of(context).push(
                            MaterialPageRoute(
                                builder: (BuildContext context) =>
                                    const AnimatedPageExample())),
                        child: const Text('Animated Page'))
                  ],
                ),
              );
            })));
  }
}
16
likes
150
points
282
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that animates ListView and PageView items on scroll, offering diverse effects like scaling, fading, translating, and rotating for dynamic user interactions.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on animated_item