Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Flutter One-File Effects: shimmer, confetti, aurora

    1

    20 Flutter animations you copy as one .dart file each, no packages, plus a skill that writes new effects in the same shape.

    Free

    Security scanned
    Flutter One-File Effects: shimmer, confetti, aurora

    Flutter One-File Effects: shimmer, confetti, aurora

    Example session with this skill installed

    Make a shimmer effect for my loading text, in the onefile-fx shape.

    • Read your context and instructions
    • Compiled the flutter one-file effects

    Summary

    Created lib/effects/shimmer.dart (68 lines, no packages), added it to the gallery and the README table, and ran the checker. This is the real file from the flutter-onefile-fx repo, written in this skill's shape and run in DartPad (Flutter 3.50.0).

    lib/effects/shimmer.dart

    import 'package:flutter/material.dart';
    
    /// A light band that sweeps across [child]. Use it on loading text, logos
    /// or "new" badges. Stops when the system asks to reduce motion.
    class ShimmerFx extends StatefulWidget {
      const ShimmerFx({
        super.key,
        required this.child,
        this.duration = const Duration(milliseconds: 1600),
        this.baseColor = const Color(0xFF9E9E9E),
        this.highlightColor = const Color(0xFFFFFFFF),
      });
    
      final Widget child;
      final Duration duration;
      final Color baseColor;
      final Color highlightColor;
    
      @override
      State<ShimmerFx> createState() => _ShimmerFxState();
    }
    
    class _ShimmerFxState extends State<ShimmerFx> with SingleTickerProviderStateMixin {
      late final AnimationController _c = AnimationController(vsync: this, duration: widget.duration);
    
      @override
      void didChangeDependencies() {
        super.didChangeDependencies();
        if (MediaQuery.of(context).disableAnimations) {
          _c.stop();
        } else if (!_c.isAnimating) {
          _c.repeat();
        }
      }
    
      @override
      void dispose() {
        _c.dispose();
        super.dispose();
      }
    
      @override
      Widget build(BuildContext context) {
        return RepaintBoundary(
          child: AnimatedBuilder(
            animation: _c,
            child: widget.child,
            builder: (context, child) => ShaderMask(
              blendMode: BlendMode.srcIn,
              shaderCallback: (rect) => LinearGradient(
                colors: [widget.baseColor, widget.highlightColor, widget.baseColor],
                stops: const [0.35, 0.5, 0.65],
                transform: _SlideX((_c.value * 2 - 1) * rect.width),
              ).createShader(rect),
              child: child,
            ),
          ),
        );
      }
    }
    
    class _SlideX extends GradientTransform {
      const _SlideX(this.dx);
      final double dx;
    
      @override
      Matrix4 transform(Rect bounds, {TextDirection? textDirection}) => Matrix4.translationValues(dx, 0, 0);
    }
    

    Checks

    CheckResult
    One public widget (ShimmerFx)pass
    Imports only flutterpass
    Under 120 lines68
    Doc commentpass
    Every controller disposedpass
    Respects reduce motionstops in didChangeDependencies
    $ node scripts/check-effects.cjs
    20 effects, 0 with problems
    

    Use it

    ShimmerFx(child: Text('Loading'))
    

    Copy the file into your app; nothing to add to pubspec.yaml.

    nothing to add to pubspec.yaml

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Adding a shimmer or confetti to a Flutter app usually means another package in pubspec.yaml. This collection gives you effects you copy as one file instead, and a skill that makes your agent write new ones the same way.

    The collection (on GitHub)

    20 effects, each one .dart file, no packages, under 120 lines: shimmer, particles, confetti, glow pulse, wave, glitch, noise grain, aurora, typewriter, ripple, liquid progress, starfield, snow, spotlight, gradient border, flip counter, skeleton, morphing blob, scanline, parallax tilt.

    All 20 ran in a gallery app in DartPad (Flutter 3.50.0), and CI runs flutter analyze on them: 0 errors, 0 warnings.

    The skill

    Ask your agent for a new effect ("a pulsing ring for the loading screen") and it writes it in the same shape:

    • one public widget with sensible defaults, so const XFx() works
    • only dart: and flutter imports, under 120 lines
    • RepaintBoundary and CustomPainter driven by the animation, so the rest of the screen does not rebuild
    • every AnimationController disposed, random data created once
    • stops looping when the system asks to reduce motion; overlays ignore taps Then it adds the effect to the gallery and README and runs the bundled checker (one public widget, imports, line limit, doc comment, dispose).

    Limits

    The skill cannot run Flutter itself. Run the gallery or flutter analyze to see a new effect; the checker only checks the file's shape.

    Free and MIT licensed: https://github.com/MBotirjonDev/flutter-onefile-fx

    Each effect must fit one file under 120 lines with no packages, so very complex effects are split in two. The skill does not run Flutter: run the gallery or flutter analyze to see a new effect. The checker needs Node.js 18+.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Requires

    Flutter 3.27+
    Node.js 18+ (for the checker)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    Packages add a dependency to keep updated. Here each effect is one file you copy and can read in a minute. The skill makes your agent write new effects in that shape, with the performance rules built in (RepaintBoundary, painter driven by the animation, controllers disposed).

    Any agent that reads SKILL.md: Claude Code, Codex, Cursor, OpenCode and others. The effects need Flutter 3.27+; the checker needs Node.js 18+ and no packages.

    The skill (SKILL.md, a template and the checker script). The 20 ready effects, the gallery app and the GIF are in the free GitHub repo, MIT licensed.

    They use only Flutter and dart:ui, so they should work on every platform Flutter supports. They were run on Flutter Web in DartPad; other platforms were not tested yet.

    The skill splits it into two effects that each fit one file, as its rules say.

    Effects stop looping when the system asks to reduce motion, overlays ignore taps, and effects that draw text keep the real text readable to screen readers. Check new effects with your own accessibility review.

    New in Mobile Development