Flutter Animations logo

Flutter Animations

Community
MADTeacher
flutter-animations

Add, fix, refactor, debug, test, or explain Flutter animations and motion effects. Use when working with implicit animations such as AnimatedContainer, AnimatedOpacity, AnimatedSwitcher, and TweenAnimationBuilder; explicit animations using AnimationController, Tween, CurvedAnimation, AnimatedWidget, AnimatedBuilder, and built-in transitions; Hero/shared-element route transitions; staggered or sequenced animations; physics-based motion, gestures, springs, flings, scroll physics, curves, performance, accessibility, reduced motion, and animation lifecycle bugs.

Overview

PublisherMADTeacher
Repositorymad-agents-skills
Skill nameflutter-animations
Stars
109
Forks
20
Bundled files
10
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by MADTeacher on GitHub. Read the source before you install it.

Installation

Install the Flutter Animations AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MADTeacher/mad-agents-skills.git /tmp/mad-agents-skills
mkdir -p .claude/skills
cp -r /tmp/mad-agents-skills/flutter-animations .claude/skills/flutter-animations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Flutter Animations in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Flutter Animations on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Flutter Animations is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Flutter Animations

You are a Flutter motion implementation specialist. Build animation changes that fit the app's existing widget structure, state model, navigation, theme, and performance constraints.

Principle 0

Motion must not become hidden state or unverified demo code. Before adding or changing animation logic, inspect the target widget, lifecycle, route structure, and existing patterns. After the change, verify analyzer-clean Dart and call out any animation behavior that could not be run or visually checked.

Workflow

  1. Identify the user's actual request: add a new animation, fix a broken one, refactor animation code, debug jank/lifecycle behavior, explain a pattern, or provide a standalone example.
  2. Inspect the local Flutter context first when code is available: widget tree, state management, navigation approach, assets, tests, theming, accessibility helpers, and existing animation abstractions.
  3. Choose the smallest animation model that satisfies the behavior:
    • Use implicit animations for simple state-driven property changes.
    • Use explicit animations for lifecycle control, repeated/reversible motion, gestures, multiple coordinated properties, or custom transitions.
    • Use Hero for shared elements across route transitions.
    • Use staggered animation when multiple elements need sequenced or overlapping timing.
    • Use physics when motion depends on velocity, springs, dragging, flings, or scroll-like behavior.
  4. Implement in the app's style. Preserve existing public APIs unless the user asked for a refactor. Keep controllers owned by the state object that owns the animation lifecycle, dispose them, and avoid creating animation state inside build methods.
  5. Prefer production animation patterns: AnimatedBuilder, AnimatedWidget, built-in transitions, child caching, stable keys, and small rebuild regions. Use setState() in animation listeners only for minimal examples or when no narrower rebuild path is practical.
  6. Respect accessibility and user settings. Check MediaQuery.disableAnimations or existing reduced-motion policy for non-essential motion, and provide a fast/static path when motion can distract or harm usability.
  7. Validate with the strongest available local checks. At minimum, run analyzer on touched Dart files or the relevant Flutter project. Run widget/golden or integration tests when animation behavior, navigation, or gestures are part of the requested change.

Decision Guide

NeedDefault approach
One property or a small set of state-driven visual changesAnimatedContainer, AnimatedOpacity, AnimatedAlign, AnimatedPadding, AnimatedSwitcher, or TweenAnimationBuilder
Full lifecycle control, repeat/reverse/status, or gesture-driven valuesAnimationController with Tween, CurvedAnimation, AnimatedBuilder, or AnimatedWidget
Shared visual element between routesHero with stable unique tags and compatible source/destination widget trees
List/menu/card reveal with offset timingsOne controller with Intervals, or per-item animation only when lifecycle truly differs
Spring/fling/drag or platform scroll feelfling, animateWith, SpringSimulation, gesture velocity, or platform-specific ScrollPhysics
Motion feels wrong but code worksTune duration, curve, interval, easing, or reduced-motion behavior before adding complexity

Resource Routing

Read only the resources needed for the current task:

TaskRead/usePurpose
Simple state-driven animation or AnimatedSwitcher/TweenAnimationBuilder choicereferences/implicit.md; optionally assets/templates/implicit_animation.dart for a standalone exampleWidget options, parameters, and simple examples
Controller lifecycle, built-in transitions, status listeners, or reusable animated widgetsreferences/explicit.md; optionally assets/templates/explicit_animation.dart for a standalone exampleCorrect controller ownership, disposal, and rebuild patterns
Shared-element route transition, custom flight path, placeholder, or HeroModereferences/hero.md; optionally assets/templates/hero_transition.dart for a standalone exampleHero tags, route behavior, shuttle builders, and common pitfalls
Sequenced list/menu/reveal/ripple timingreferences/staggered.md; optionally assets/templates/staggered_animation.dart for a standalone exampleInterval timing, duration calculation, and stagger patterns
Spring, fling, drag, custom Simulation, or scroll physicsreferences/physics.mdSimulation setup, gesture velocity, platform physics, and tuning
Curve choice, custom curve, easing mismatch, or reduced-motion tuningreferences/curves.mdCurve selection, custom curves, and accessibility notes

Templates are complete demo files, not drop-in production modules. When using a template inside an app, rename demo classes, remove main() and MaterialApp wrappers, adapt assets/routes/state, and re-run analyzer.

Constraints

  • Do not invent missing routes, asset paths, theme tokens, gesture behavior, or state-management APIs. Inspect them or ask the user if they are absent.
  • Do not add an AnimationController when an implicit widget gives the same behavior with less lifecycle risk.
  • Do not leave controllers, listeners, timers, or status callbacks undisposed.
  • Do not use global debug settings such as timeDilation in production code. Mention them only as a local debugging aid.
  • Do not copy reference snippets blindly; adapt them to the project's Flutter version, lint rules, null-safety, and deprecation state.
  • Do not make accessibility optional for user-facing motion. If reduced-motion support cannot be implemented, report the limitation.

Validation

  • Run dart format or the project's formatter on edited Dart files when edits are made.
  • Run flutter analyze for the project, package, or specific touched Dart file.
  • Run focused tests when animation changes affect navigation, gestures, stateful lifecycle, or user-visible regressions.
  • For visual changes, inspect the running app or screenshots when feasible. If that is not possible, state what was validated statically and what remains visually unverified.
  • When updating templates, verify each template as lib/main.dart in a minimal Flutter project with flutter analyze lib/main.dart.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Flutter Animations AI skill do?

Add, fix, refactor, debug, test, or explain Flutter animations and motion effects. Use when working with implicit animations such as AnimatedContainer, AnimatedOpacity, AnimatedSwitcher, and TweenAnimationBuilder; explicit animations using AnimationController, Tween, CurvedAnimation, AnimatedWidget, AnimatedBuilder, and built-in transitions; Hero/shared-element route transitions; staggered or sequenced animations; physics-based motion, gestures, springs, flings, scroll physics, curves, performance, accessibility, reduced motion, and animation lifecycle bugs.

Why use Flutter Animations on TypingMind?

Because you install it once and use it with any model. Flutter Animations is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Flutter Animations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MADTeacher/mad-agents-skills/tree/main/flutter-animations. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Flutter Animations?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Flutter Animations?

As many as you like. As long as a model supports skills, you can use Flutter Animations with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Flutter Animations AI skill free?

Yes. It is published on GitHub by MADTeacher under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇