sequential_text_fade 0.0.3 copy "sequential_text_fade: ^0.0.3" to clipboard
sequential_text_fade: ^0.0.3 copied to clipboard

A Flutter package that displays a sequence of texts fading in and out, using a SequentialTextFade widget for the animation.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Column(
            children: [
              SequentialTextFade(
                sequentialTextsList: [
                  'JOIN THE FUN',
                  'STAY TUNED',
                  'GET READY',
                  'DISCOVER MORE',
                  'BE PART OF IT',
                  'JUST IN',
                ],
                duration: Duration(seconds: 3),
                delay: Duration(seconds: 3),
                textAlignment: Alignment.centerLeft,
                textStyle: TextStyle(
                  fontSize: 24.0,
                  fontWeight: FontWeight.w600,
                  color: Colors.blue,
                ),
              ),
              SizedBox(
                height: 15,
              ),
              SequentialRotatingTextFade(
                sequentialTextsList: [
                  'JOIN THE FUN',
                  'STAY TUNED',
                  'GET READY',
                  'DISCOVER MORE',
                  'BE PART OF IT',
                  'JUST IN',
                ],
                duration: Duration(seconds: 3),
                delay: Duration(seconds: 3),
                textAlignment: Alignment.centerLeft,
                textStyle: TextStyle(
                  fontSize: 24.0,
                  fontWeight: FontWeight.w600,
                  color: Colors.blue,
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
3
likes
160
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that displays a sequence of texts fading in and out, using a SequentialTextFade widget for the animation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sequential_text_fade