animated_item 0.0.1 copy "animated_item: ^0.0.1" to clipboard
animated_item: ^0.0.1 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

// Copyright 2023 Conezi. All rights reserved.
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'))
                  ],
                ),
              );
            })));
  }
}
15
likes
160
points
45
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)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on animated_item