running_text 0.0.8 copy "running_text: ^0.0.8" to clipboard
running_text: ^0.0.8 copied to clipboard

Flutter widget "running text". Allows running an string list. Provides customizations including two horizontal directions, velocity, fading when appearing or disappearing.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
            backgroundColor: Colors.teal,
            title: const Text(
              "Example",
              style:
                  TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
            )),
        body: RunningTextView(
            data: RunningTextModel([
          "Learn how to find target keywords",
          "Learn how to find target keywords for any page with our keyword research guide."
        ],
                textStyle: const TextStyle(fontSize: 15),
                velocity: 50,
                direction: RunningTextDirection.rightToLeft,
                fadeSide: RunningTextFadeSide.both)),
      ),
    );
  }
}
2
likes
0
points
79
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter widget "running text". Allows running an string list. Provides customizations including two horizontal directions, velocity, fading when appearing or disappearing.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on running_text