Skip to content

jassi-singh/animator-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Animator Playground 🎨

A Flutter application showcasing a collection of beautiful, interactive animations. This project demonstrates various animation techniques and patterns that can be used in Flutter applications.

πŸ“± About

Animator Playground is a showcase app featuring 9 unique animations, each with its own style and purpose. From simple loading indicators to complex interactive animations, this project serves as both a demonstration and a learning resource for Flutter animation development.

✨ Features

  • 9 unique, polished animations
  • Smooth, performant animations built with Flutter
  • Clean, modern UI design
  • State management using BLoC pattern
  • Cros

s-platform support (iOS, Android, Web)

🎬 Animations

1. Menu Icon

A modern, animated menu icon that transforms into different states. Used on almost every website by now, simple but impressively animated it becomes a real eye-catcher.

menu.mp4

2. Loading

A calming loading animation. The best are always websites that do not need a loading status. If they do, here would be a calming one.

loading.mp4

3. Rainy Night

An atmospheric animation featuring falling raindrops that shatter on the ground. The perfect time of day and the perfect weather to program in peace. The raindrops even shatter on the ground.

rainy_night.mp4

4. Watch

A customizable watch animation. Classic, noble, modern or playful? What do you want your favorite watch to look like?

watch.mp4

5. Pac-Man

An interactive Pac-Man game animation. The classic arcade game is still a lot of fun. The ghosts are chasing you, but you can eat them.

6. Send Mail

A delightful mail sending animation. Surprise your visitors with a nice animation instead of a simple "request sent".

send_mail.mp4

7. Pendulum Wave

A mesmerizing mathematical animation. If you are not yet fascinated by mathematics, you should be now at the latest. Wonderful what a small calculation brings forth.

pendulam_wave.mp4

8. Rotating Square

A simple yet versatile rotating square animation. A simple animation that can be used in many ways. For example, to indicate that the page is loading.

rotating_squares.mp4

9. Day Night Slider

A cool slider animation for day and night mode switching.

day_nigh_slider.mp4

πŸš€ Getting Started

Prerequisites

  • Flutter SDK (>=2.16.2 <3.0.0)
  • Dart SDK
  • Android Studio / Xcode (for mobile development)
  • VS Code or Android Studio (recommended IDE)

Installation

  1. Clone the repository:
git clone <repository-url>
cd animator_playground
  1. Install dependencies:
flutter pub get
  1. Run the app:
flutter run

Running on Different Platforms

  • iOS: flutter run -d ios
  • Android: flutter run -d android
  • Web: flutter run -d chrome

πŸ› οΈ Tech Stack

  • Framework: Flutter
  • State Management: BLoC (flutter_bloc)
  • Language: Dart
  • UI: Material Design 3

πŸ“¦ Dependencies

  • flutter_bloc: ^8.1.1 - State management
  • bloc: ^8.1.0 - BLoC pattern implementation
  • intl: ^0.18.0 - Internationalization support
  • cupertino_icons: ^1.0.2 - iOS-style icons

πŸ“ Project Structure

lib/
β”œβ”€β”€ data/
β”‚   └── animations_data.dart      # Animation data and configurations
β”œβ”€β”€ models/
β”‚   └── animation_model.dart        # Animation model definitions
β”œβ”€β”€ screens/
β”‚   β”œβ”€β”€ homepage.dart               # Main home screen
β”‚   └── animations/
β”‚       β”œβ”€β”€ animations_page.dart    # Animations list page
β”‚       β”œβ”€β”€ day_night_slider/       # Day/Night slider animation
β”‚       β”œβ”€β”€ loading/                # Loading animation
β”‚       β”œβ”€β”€ menu_icon/              # Menu icon animation
β”‚       β”œβ”€β”€ pacman/                 # Pac-Man animation
β”‚       β”œβ”€β”€ pendulam_wave/          # Pendulum wave animation
β”‚       β”œβ”€β”€ rainy_night/            # Rainy night animation
β”‚       β”œβ”€β”€ rotating_squares/       # Rotating squares animation
β”‚       β”œβ”€β”€ send_mail/              # Send mail animation
β”‚       └── watch/                  # Watch animation
└── main.dart                       # App entry point

🎨 Animation Details

Each animation is self-contained in its own directory with all necessary components. The animations are defined in animations_data.dart with their titles, descriptions, and color schemes.

🀝 Contributing

Contributions are welcome! If you'd like to add a new animation or improve existing ones, please feel free to submit a pull request.

πŸ“ License

This project is open source and available for learning and demonstration purposes.

πŸ™ Acknowledgments

Inspired by various animation showcases and designed to demonstrate Flutter's powerful animation capabilities.


Note: To add videos to this README, place them in a videos/ directory in the project root and ensure the filenames match the references above (e.g., menu.mp4, loading.mp4, etc.).

Releases

No releases published

Packages

No packages published

Languages