scroll_float 1.0.0 copy "scroll_float: ^1.0.0" to clipboard
scroll_float: ^1.0.0 copied to clipboard

A Flutter widget that animates text with a “decryption-style” effect — scrambling letters until the final reveal.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:scroll_float/scroll_float.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Scroll Float Example',
      theme: ThemeData.dark(),
      home: Scaffold(
        body: SingleChildScrollView(
          child: Column(
            children: [
              const SizedBox(height: 500),
              const ScrollFloat(
                text: "SCROLL FLOAT ANIMATION",
                style: TextStyle(
                  fontSize: 48,
                  fontWeight: FontWeight.bold,
                  color: Colors.tealAccent,
                ),
              ),
              const SizedBox(height: 800),
              const ScrollFloat(
                text: "SECOND TITLE ANIMATION",
                style: TextStyle(
                  fontSize: 40,
                  color: Colors.orangeAccent,
                ),
              ),
              const SizedBox(height: 600),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that animates text with a “decryption-style” effect — scrambling letters until the final reveal.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, visibility_detector

More

Packages that depend on scroll_float